diff --git a/.github/workflows/docker-build-push-backend-container-on-tag.yml b/.github/workflows/docker-build-push-backend-container-on-tag.yml index dc0b0901a42..35adfb3f69d 100644 --- a/.github/workflows/docker-build-push-backend-container-on-tag.yml +++ b/.github/workflows/docker-build-push-backend-container-on-tag.yml @@ -32,8 +32,8 @@ jobs: with: images: ${{ env.REGISTRY_IMAGE }} tags: | - type=raw,value=${{ env.REGISTRY_IMAGE }}:${{ github.ref_name }} - type=raw,value=${{ env.REGISTRY_IMAGE }}:latest,enable=${{ github.ref == 'refs/heads/main' }} + type=raw,value=${{ github.ref_name }} + type=raw,value=latest,enable=${{ github.ref == 'refs/heads/main' }} - name: Backend Image Docker Build and Push uses: docker/build-push-action@v5 diff --git a/.github/workflows/docker-build-push-web-container-on-tag.yml b/.github/workflows/docker-build-push-web-container-on-tag.yml index 90c6e072359..40de0311901 100644 --- a/.github/workflows/docker-build-push-web-container-on-tag.yml +++ b/.github/workflows/docker-build-push-web-container-on-tag.yml @@ -33,8 +33,8 @@ jobs: with: images: ${{ env.REGISTRY_IMAGE }} tags: | - type=raw,value=${{ env.REGISTRY_IMAGE }}:${{ github.ref_name }} - type=raw,value=${{ env.REGISTRY_IMAGE }}:latest,enable=${{ github.ref == 'refs/heads/main' }} + type=raw,value=${{ github.ref_name }} + type=raw,value=latest,enable=${{ github.ref == 'refs/heads/main' }} - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3