From 0153aa1699444dc2c1a10277f8be4f0a71423218 Mon Sep 17 00:00:00 2001 From: jhot Date: Wed, 1 Nov 2023 13:24:31 -0600 Subject: [PATCH] Just rebuild to simplify things --- Taskfile.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Taskfile.yml b/Taskfile.yml index 4e5ed44..93519a3 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -6,12 +6,14 @@ vars: tasks: build: cmds: - - docker buildx build --load --platform linux/amd64,linux/arm64 -t "{{.NAME}}:{{.TAG}}" . + - docker buildx build --platform linux/amd64,linux/arm64 -t "{{.NAME}}:{{.TAG}}" . vars: TAG: '{{.TAG | default "latest"}}' push: cmds: - - docker push "{{.NAME}}:{{.TAG}}" + - docker buildx build --push --platform linux/amd64,linux/arm64 -t "{{.NAME}}:{{.TAG}}" . + vars: + TAG: '{{.TAG | default "latest"}}' tag: prompt: This will push a git tag and docker image versioned {{.TAG}}... Do you want to continue? cmds: