set up registry auth
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Joseph Montanaro 2020-12-27 20:42:44 -08:00
parent b9a3c018e7
commit 8eb69dab14

View File

@ -20,7 +20,11 @@ steps:
volumes: volumes:
- name: docker-socket - name: docker-socket
path: /var/run/docker.sock path: /var/run/docker.sock
environment:
REGISTRY_PWD:
from_secret: registry_pwd
commands: commands:
- echo $REGISTRY_PWD | docker login -u drone --password-stdin
- docker push registry.drone/minebot:latest - docker push registry.drone/minebot:latest
when: when:
branch: branch: