From 5a44b85cefb65677a7131f3b82af2896b40f6df9 Mon Sep 17 00:00:00 2001 From: Andri Joos <andri@joos.io> Date: Tue, 3 Dec 2024 21:55:22 +0100 Subject: [PATCH] add buildx task --- .vscode/tasks.json | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 852a326..36c34f8 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -4,14 +4,23 @@ "version": "2.0.0", "tasks": [ { - "label": "docker build", + "label": "build", "command": "docker", "args": [ "build", - "-f", - "${file}", - "." - ] - } - ] + ".", + ], + }, + { + "label": "buildx build", + "command": "docker", + "args": [ + "buildx", + "build", + "--platform", + "linux/arm64,linux/amd64", + ".", + ], + }, + ], } -- GitLab