Compare commits
4 Commits
e56b6da79d
...
ce194c1418
Author | SHA1 | Date | |
---|---|---|---|
ce194c1418 | |||
ca27b9f1aa | |||
efd624bd7d | |||
c27751dd93 |
@ -4,9 +4,11 @@
|
||||
environment:
|
||||
- DOCKER_HOST=tcp://docker:2375
|
||||
commands:
|
||||
- sleep 5
|
||||
- docker build -t localhost:5000/library:latest .
|
||||
- docker ps
|
||||
- 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/library:latest .
|
||||
- docker push registry.yetaga.in/library:latest
|
||||
secrets: [docker_username, docker_password]
|
||||
|
||||
services:
|
||||
docker:
|
||||
|
Loading…
Reference in New Issue
Block a user