Setup builder before push
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
parent
364522fd90
commit
9141025fa4
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue