Just rebuild to simplify things
continuous-integration/drone/push Build is running Details

pull/5/head
jhot 2023-11-01 13:24:31 -06:00
parent 0fb32a4f1d
commit 0153aa1699
Signed by: jhot
GPG Key ID: 612ED70E22571DD4
1 changed files with 4 additions and 2 deletions

View File

@ -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: