From 03c4dbb96784468145ac8f63d48eb73c975554aa Mon Sep 17 00:00:00 2001 From: sd109 Date: Mon, 2 Sep 2024 12:25:12 +0100 Subject: [PATCH] Try shorter meta image tags --- .../workflows/docker-build-push-backend-container-on-tag.yml | 4 ++-- .github/workflows/docker-build-push-web-container-on-tag.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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