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: