From 6548a06b4324cc9069d3c0b1bcd1109b7cc836d8 Mon Sep 17 00:00:00 2001 From: Schuwi Date: Sun, 21 Sep 2025 11:33:15 +0200 Subject: [PATCH] ci: fix container tags again --- .gitea/workflows/docker-build.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/docker-build.yml b/.gitea/workflows/docker-build.yml index 46e087f..4843776 100644 --- a/.gitea/workflows/docker-build.yml +++ b/.gitea/workflows/docker-build.yml @@ -26,14 +26,13 @@ jobs: with: images: ${{ env.REGISTRY }}/${{ github.repository_owner }}/${{ env.IMAGE_NAME }} tags: | - # Keep a moving branch tag (e.g., main) - type=ref,event=branch + # Latest tag will automatically be generated for the latest tagged release # Version tag on releases (e.g., v1.2.3) type=ref,event=tag + # Keep a moving branch tag (e.g., main) + type=ref,event=branch # Snapshot tag for commits on the default branch (e.g., snapshot-) type=raw,value=snapshot-{{sha}},enable={{is_default_branch}} - # Move "latest" only when building from a tag - type=raw,value=latest,enable={{is_tag}} - name: Log in to Container Registry uses: docker/login-action@v3