Use jhot to publish
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
9141025fa4
commit
cd575c0581
|
@ -27,7 +27,7 @@ steps:
|
|||
- name: dockersocket
|
||||
path: /var/run/docker.sock
|
||||
commands:
|
||||
- docker login code.jhot.me -u drone -p $PASSWORD
|
||||
- docker login code.jhot.me -u jhot -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
|
||||
|
@ -47,7 +47,7 @@ steps:
|
|||
- name: dockersocket
|
||||
path: /var/run/docker.sock
|
||||
commands:
|
||||
- docker login code.jhot.me -u drone -p $PASSWORD
|
||||
- docker login code.jhot.me -u jhot -p $PASSWORD
|
||||
- task setup-buildx BUILDER_NAME=builder${DRONE_COMMIT_SHA}${DRONE_BUILD_NUMBER}
|
||||
- task push TAG=main
|
||||
when:
|
||||
|
|
Loading…
Reference in New Issue