Specify docker registry URL
continuous-integration/drone/push Build is failing Details

main
jhot 2023-11-01 13:33:54 -06:00
parent c1fb6d7440
commit 364522fd90
Signed by: jhot
GPG Key ID: 612ED70E22571DD4
1 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ steps:
- name: dockersocket - name: dockersocket
path: /var/run/docker.sock path: /var/run/docker.sock
commands: commands:
- docker login -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 push TAG=$tag - task push TAG=$tag
when: when:
@ -46,7 +46,7 @@ steps:
- name: dockersocket - name: dockersocket
path: /var/run/docker.sock path: /var/run/docker.sock
commands: commands:
- docker login -u drone -p $PASSWORD - docker login code.jhot.me -u drone -p $PASSWORD
- task push TAG=main - task push TAG=main
when: when:
branch: branch: