From fb54cfbaf29db68fbc543d7e8c59839f78e8a099 Mon Sep 17 00:00:00 2001 From: David Date: Mon, 17 Nov 2025 01:53:53 +0100 Subject: [PATCH] fix: correct Docker image tags to avoid duplicate tag names MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixed invalid Docker tag format errors: - Removed :preprod suffix from base image names in metadata action - docker/metadata-action already adds branch-based tags automatically - Unified registry to rg.fr-par.scw.cloud/weworkstudio for both backend and frontend - This fixes "invalid reference format" error Before: backend:preprod:preprod (invalid - duplicate tags) After: backend:preprod (valid) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 217df8e..87ee73c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -69,7 +69,7 @@ jobs: id: meta uses: docker/metadata-action@v5 with: - images: ${{ env.REGISTRY }}/backend:preprod + images: ${{ env.REGISTRY }}/backend tags: | type=ref,event=branch type=ref,event=pr @@ -133,7 +133,7 @@ jobs: - name: Login to Scaleway Registry uses: docker/login-action@v3 with: - registry: rg.fr-par.scw.cloud/xpeditis + registry: rg.fr-par.scw.cloud/weworkstudio username: nologin password: ${{ secrets.REGISTRY_TOKEN }} @@ -141,7 +141,7 @@ jobs: id: meta uses: docker/metadata-action@v5 with: - images: ${{ env.REGISTRY }}/frontend:preprod + images: ${{ env.REGISTRY }}/frontend tags: | type=ref,event=branch type=ref,event=pr