diff --git a/.vscode/tasks.json b/.vscode/tasks.json index ed4a0aa21642c7e53f0de3c9b673e112c636cc8a..538bc8e260be09ff699c534ae206fac67ad035c8 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -4,12 +4,38 @@ "version": "2.0.0", "tasks": [ { - "label": "docker build", + "label": "build", "command": "docker", "args": [ "build", - "." - ] - } - ] + "--build-arg", + "BASE_IMAGE_VERSION=${input:imageVersion}", + ".", + ], + }, + { + "label": "buildx build", + "command": "docker", + "args": [ + "buildx", + "build", + "--build-arg", + "BASE_IMAGE_VERSION=${input:imageVersion}", + "--platform", + "linux/arm64,linux/amd64", + ".", + ], + }, + ], + "inputs": [ + { + "id": "imageVersion", + "type": "pickString", + "description": "Choose base image version", + "options": [ + "3.13.0", + "3.12.7", + ], + }, + ], }