diff --git a/.github/workflows/deploy-docker.yml b/.github/workflows/deploy-docker.yml index fd089e126..54127db44 100644 --- a/.github/workflows/deploy-docker.yml +++ b/.github/workflows/deploy-docker.yml @@ -7,7 +7,7 @@ on: jobs: publish: - name: Building images + name: Publishing images runs-on: ubuntu-latest steps: - name: Checkout @@ -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 diff --git a/Makefile b/Makefile index 6f19e8e14..546d0a995 100644 --- a/Makefile +++ b/Makefile @@ -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