From 53e08e8e4b909b4895b5a447cfbce515893d31a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Elisi=C3=A1rio=20Couto?= Date: Wed, 10 Sep 2025 01:11:38 +0100 Subject: [PATCH] fix(ci): Prevent duplicate Docker tags in GitHub Actions - Add latest=false flavor to both backend and frontend jobs - Fix confusion between latest and latest-frontend tags - Ensure proper image separation in Docker registries --- .github/workflows/release.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a300e35..200db62 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -62,10 +62,12 @@ jobs: registry: ghcr.io username: ${{ github.repository_owner }} password: ${{ secrets.GITHUB_TOKEN }} - - name: Docker meta backend + - name: Docker meta backend id: meta-backend uses: docker/metadata-action@v5 with: + flavor: | + latest=false # list of Docker images to use as base name for tags images: | elisiariocouto/leggen @@ -106,10 +108,12 @@ jobs: registry: ghcr.io username: ${{ github.repository_owner }} password: ${{ secrets.GITHUB_TOKEN }} - - name: Docker meta frontend + - name: Docker meta frontend id: meta-frontend uses: docker/metadata-action@v5 with: + flavor: | + latest=false # list of Docker images to use as base name for tags images: | elisiariocouto/leggen