Skip to content

Commit 3a533f7

Browse files
purelogiqmars-f
authored andcommittedMay 8, 2017
Fix looking up the correct image to push to dockerhub
The way we were looking for the image tag to push to dockerhub was an artifact of how were were pushing to dockerhub in our old conduit repo. The correct way is demonstrated in this commit, which smacleod has recommend and is consistent with how it is done in the mozphab repo
1 parent 2d5cad7 commit 3a533f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎circle.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,5 @@ deployment:
4545
commands:
4646
- "[ ! -z $DOCKERHUB_REPO ]"
4747
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
48-
- "docker tag lando-api:build ${DOCKERHUB_REPO}:lando-api-${CIRCLE_SHA1}"
49-
- "docker push ${DOCKERHUB_REPO}:lando-api-${CIRCLE_SHA1}"
48+
- "docker tag ${DOCKERHUB_REPO} ${DOCKERHUB_REPO}:${CIRCLE_SHA1}"
49+
- "docker push ${DOCKERHUB_REPO}:${CIRCLE_SHA1}"

0 commit comments

Comments
 (0)
Failed to load comments.