Skip to content

Commit ae088d3

Browse files
authored
Merge pull request #891 from gogaille/fix-docker-push
fix: docker push
2 parents b461de3 + c13dd9c commit ae088d3

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ docker-images:
1111
# Publish doocker images
1212
publish-docker-images: docker-images
1313
# Make sure we have defined the docker tag
14-
(test $(DOCKER_TAG)) && echo "Tagging images with \"${DOCKER_TAG}\"" || echo "You have to define environemnt variable DOCKER_TAG"
14+
(test $(DOCKER_TAG)) && echo "Tagging images with \"${DOCKER_TAG}\"" || echo "You have to define environment variable DOCKER_TAG"
1515
test $(DOCKER_TAG)
1616

1717
for image in \
@@ -23,8 +23,8 @@ publish-docker-images: docker-images
2323
"bref/build-php-80" \
2424
"bref/fpm-dev-gateway"; \
2525
do \
26-
docker tag $$image:latest $$image:${DOCKER_TAG} ; \
27-
docker push $$image ; \
26+
docker image tag $$image:latest $$image:${DOCKER_TAG} ; \
27+
docker image push --all-tags $$image ; \
2828
done
2929

3030
# Generate and deploy the production version of the website using http://couscous.io

0 commit comments

Comments
 (0)