Skip to content

Commit

Permalink
Merge pull request #891 from gogaille/fix-docker-push
Browse files Browse the repository at this point in the history
fix: docker push
  • Loading branch information
mnapoli authored Mar 22, 2021
2 parents b461de3 + c13dd9c commit ae088d3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ docker-images:
# Publish doocker images
publish-docker-images: docker-images
# Make sure we have defined the docker tag
(test $(DOCKER_TAG)) && echo "Tagging images with \"${DOCKER_TAG}\"" || echo "You have to define environemnt variable DOCKER_TAG"
(test $(DOCKER_TAG)) && echo "Tagging images with \"${DOCKER_TAG}\"" || echo "You have to define environment variable DOCKER_TAG"
test $(DOCKER_TAG)

for image in \
Expand All @@ -23,8 +23,8 @@ publish-docker-images: docker-images
"bref/build-php-80" \
"bref/fpm-dev-gateway"; \
do \
docker tag $$image:latest $$image:${DOCKER_TAG} ; \
docker push $$image ; \
docker image tag $$image:latest $$image:${DOCKER_TAG} ; \
docker image push --all-tags $$image ; \
done

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

0 comments on commit ae088d3

Please sign in to comment.