chore: prevent sig from taking the latest tag

This commit is contained in:
Henry
2025-06-07 23:46:10 +01:00
parent d768b1e6ba
commit 8474601b2e

View File

@@ -99,4 +99,5 @@ jobs:
DIGEST: ${{ steps.build-and-push.outputs.digest }}
# This step uses the identity token to provision an ephemeral certificate
# against the sigstore community Fulcio instance.
run: echo "${TAGS}" | xargs -I {} cosign sign --yes {}@${DIGEST}
run: |
echo "${TAGS}" | grep -v "latest" | xargs -I {} cosign sign --yes {}@${DIGEST}