From e6581f0cd4820e127300bf7c302a93c34cc86c03 Mon Sep 17 00:00:00 2001 From: Reza Chalak Date: Fri, 18 Aug 2023 14:25:42 +0330 Subject: [PATCH] tag variable --- .github/workflows/docker-images-with-tags.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker-images-with-tags.yml b/.github/workflows/docker-images-with-tags.yml index b9f5e40..a6ab3e0 100644 --- a/.github/workflows/docker-images-with-tags.yml +++ b/.github/workflows/docker-images-with-tags.yml @@ -28,7 +28,7 @@ jobs: context: ./docker/pg file: ./docker/pg/Dockerfile push: true - tags: ${{ secrets.DOCKERHUB_USERNAME }}/pg:$GITHUB_REF_NAME + tags: ${{ secrets.DOCKERHUB_USERNAME }}/pg:${{ github.ref_name }} - name: Build and push MongoDB-Backup-Zen uses: docker/build-push-action@v4 @@ -36,7 +36,7 @@ jobs: context: ./docker/mongo file: ./docker/mongo/Dockerfile push: true - tags: ${{ secrets.DOCKERHUB_USERNAME }}/mongo:$GITHUB_REF_NAME + tags: ${{ secrets.DOCKERHUB_USERNAME }}/mongo:${{ github.ref_name }} - name: Build and push MySQL-Backup-Zen uses: docker/build-push-action@v4 @@ -44,4 +44,4 @@ jobs: context: ./docker/mysql file: ./docker/mysql/Dockerfile push: true - tags: ${{ secrets.DOCKERHUB_USERNAME }}/mysql:$GITHUB_REF_NAME + tags: ${{ secrets.DOCKERHUB_USERNAME }}/mysql:${{ github.ref_name }}