fix signing
All checks were successful
Docker Build Smart Logic / Build amd64 & arm64 (push) Successful in 26s

This commit is contained in:
2026-02-09 18:02:23 +01:00
parent 43302fff1d
commit 8f52365d53

View File

@@ -231,8 +231,16 @@ jobs:
with:
name: sbom
path: sbom.spdx.json
- name: Install cosign
run: |
curl -sSfL https://github.com/sigstore/cosign/releases/latest/download/cosign-linux-amd64 \
-o /usr/local/bin/cosign
chmod +x /usr/local/bin/cosign
- name: Sign image
run: cosign sign --key ${{ secrets.COSIGN_KEY }} ${IMAGE_NAME}:v${VERSION}
if: env.IS_TAG == 'true'
run: |
cosign sign --key ${{ secrets.COSIGN_KEY }} ${IMAGE_NAME}:${VERSION}