Setup builder before push
continuous-integration/drone/push Build is failing Details

main
jhot 2023-11-01 13:37:53 -06:00
parent 364522fd90
commit 9141025fa4
Signed by: jhot
GPG Key ID: 612ED70E22571DD4
1 changed files with 2 additions and 0 deletions

View File

@ -29,6 +29,7 @@ steps:
commands:
- docker login code.jhot.me -u drone -p $PASSWORD
- tag=$${DRONE_TAG:-$DRONE_BRANCH} # set tag to tag name (if applicable) or branch name
- task setup-buildx BUILDER_NAME=builder${DRONE_COMMIT_SHA}${DRONE_BUILD_NUMBER}
- task push TAG=$tag
when:
event:
@ -47,6 +48,7 @@ steps:
path: /var/run/docker.sock
commands:
- docker login code.jhot.me -u drone -p $PASSWORD
- task setup-buildx BUILDER_NAME=builder${DRONE_COMMIT_SHA}${DRONE_BUILD_NUMBER}
- task push TAG=main
when:
branch: