Skip to content

Commit

Permalink
Fix publishing of 1.x Docker images
Browse files Browse the repository at this point in the history
  • Loading branch information
mnapoli committed Apr 3, 2023
1 parent 53ddf84 commit 35f2c4b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
publish:
name: Building images
name: Publishing images
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -23,7 +23,7 @@ jobs:
- name: Build images
run: make docker-images

- name: Publish
- name: Publish images on Docker Hub
env:
DOCKER_TAG: ${{ steps.get_version.outputs.VERSION }}
run: make publish-docker-images
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,10 @@ publish-docker-images: docker-images
"bref/build-php-82" \
"bref/fpm-dev-gateway"; \
do \
docker image tag $$image:1 $$image:${DOCKER_TAG} ; \
docker image push --all-tags $$image ; \
docker image tag $$image $$image:1 ; \
docker image tag $$image $$image:${DOCKER_TAG} ; \
docker image push $$image:1 ; \
docker image push $$image:${DOCKER_TAG} ; \
done

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

0 comments on commit 35f2c4b

Please sign in to comment.