This commit is contained in:
parent
1d79f8d014
commit
da8875c89e
@ -5,7 +5,6 @@ steps:
|
||||
- DOCKER_HOST=tcp://docker:2375
|
||||
commands:
|
||||
- apk add curl
|
||||
- sleep 5 # wait for docker service to come up
|
||||
- docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD registry.yetaga.in
|
||||
- docker build -t registry.yetaga.in/castor:latest .
|
||||
- docker push registry.yetaga.in/castor:latest
|
||||
@ -14,10 +13,5 @@ steps:
|
||||
secrets: [docker_username, docker_password, compose_token]
|
||||
when:
|
||||
branch: "master"
|
||||
|
||||
services:
|
||||
docker:
|
||||
image: docker:18.09-dind
|
||||
privileged: true
|
||||
when:
|
||||
branch: master
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
|
Loading…
Reference in New Issue
Block a user