Skip to content

Commit e6fa1c3

Browse files
committed
login to registry only for deploy
1 parent 59d4527 commit e6fa1c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

circle.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ machine:
44

55
dependencies:
66
override:
7-
- sed -e "s|<REGISTRY>|$DOCKER_REGISTRY|g" -e "s|<EMAIL>|$DOCKER_EMAIL|g" -e "s|<AUTH>|$DOCKER_AUTH|g" < .dockercfg.template > ~/.dockercfg
87
- sed -i 's/CMD/#CMD/g' Dockerfile
98
- docker build -t quay.io/syncano/python-codebox .
109

@@ -17,6 +16,7 @@ deployment:
1716
branch:
1817
- master
1918
commands:
19+
- sed -e "s|<REGISTRY>|$DOCKER_REGISTRY|g" -e "s|<EMAIL>|$DOCKER_EMAIL|g" -e "s|<AUTH>|$DOCKER_AUTH|g" < .dockercfg.template > ~/.dockercfg
2020
- sed -i 's/#CMD/CMD/g' Dockerfile
2121
- docker build -t quay.io/syncano/python-codebox .
2222
- docker pull quay.io/syncano/python-codebox

0 commit comments

Comments
 (0)