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