fix sign-step
All checks were successful
Docker Build Smart Logic / Build amd64 & arm64 (push) Successful in 24s

This commit is contained in:
2026-02-09 20:54:15 +01:00
parent 1b1e1f86cf
commit 8f8d6b1623

View File

@@ -250,7 +250,13 @@ jobs:
- name: Sign image - name: Sign image
if: env.IS_TAG == 'true' if: env.IS_TAG == 'true'
shell: bash
run: | run: |
echo "Signing image ${IMAGE_NAME}:${VERSION}" echo "== Signing image =="
cosign sign --key ${{ secrets.COSIGN_KEY }} ${IMAGE_NAME}:${VERSION} IMAGE_NAME="${REGISTRY_HOST}/${IMAGE_BASE}"
VERSION="$VERSION" # kommt vom Detect version Step
echo "Signing image ${IMAGE_NAME}:${VERSION}"
cosign sign --key ${{ secrets.COSIGN_KEY }} "${IMAGE_NAME}:${VERSION}"