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:
|
commands:
|
||||||
- docker login code.jhot.me -u drone -p $PASSWORD
|
- docker login code.jhot.me -u drone -p $PASSWORD
|
||||||
- tag=$${DRONE_TAG:-$DRONE_BRANCH} # set tag to tag name (if applicable) or branch name
|
- 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
|
- task push TAG=$tag
|
||||||
when:
|
when:
|
||||||
event:
|
event:
|
||||||
|
@ -47,6 +48,7 @@ steps:
|
||||||
path: /var/run/docker.sock
|
path: /var/run/docker.sock
|
||||||
commands:
|
commands:
|
||||||
- docker login code.jhot.me -u drone -p $PASSWORD
|
- 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
|
- task push TAG=main
|
||||||
when:
|
when:
|
||||||
branch:
|
branch:
|
||||||
|
|
Loading…
Reference in New Issue