use public hostname for registry
This commit is contained in:
parent
f8fa89afca
commit
5ffcdb8097
@ -10,7 +10,7 @@ steps:
|
||||
- name: docker-socket
|
||||
path: /var/run/docker.sock
|
||||
commands:
|
||||
- docker build -t registry.drone/minebot:latest .
|
||||
- docker build -t registry.jfmonty2.com/minebot:latest .
|
||||
when:
|
||||
branch:
|
||||
- master
|
||||
@ -24,8 +24,8 @@ steps:
|
||||
REGISTRY_PWD:
|
||||
from_secret: registry_pwd
|
||||
commands:
|
||||
- echo $REGISTRY_PWD | docker login -u drone --password-stdin registry.drone
|
||||
- docker push registry.drone/minebot:latest
|
||||
- echo $REGISTRY_PWD | docker login -u drone --password-stdin registry.jfmonty2.com
|
||||
- docker push registry.jfmonty2.com/minebot:latest
|
||||
when:
|
||||
branch:
|
||||
- master
|
||||
|
Loading…
x
Reference in New Issue
Block a user