From 840b9435a383dacb4906ced7fe10fb8f1e42afc6 Mon Sep 17 00:00:00 2001 From: Robert Helewka Date: Thu, 25 Jun 2026 08:14:56 -0400 Subject: [PATCH] ci: remove branch and PR tags from docker metadata Drop type=ref tags for branch and PR events, keeping only SHA-based and latest tags to simplify the image tagging scheme. --- .gitea/workflows/cve-scan-docker-build.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.gitea/workflows/cve-scan-docker-build.yml b/.gitea/workflows/cve-scan-docker-build.yml index 099d4d9..1425ad6 100644 --- a/.gitea/workflows/cve-scan-docker-build.yml +++ b/.gitea/workflows/cve-scan-docker-build.yml @@ -73,8 +73,6 @@ jobs: with: images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} tags: | - type=ref,event=branch - type=ref,event=pr type=sha,prefix= type=raw,value=latest,enable=${{ gitea.ref == 'refs/heads/main' }}