From 61a2f38991c6b4081cff81f08cfe55fb28916850 Mon Sep 17 00:00:00 2001 From: dtrai2 Date: Tue, 17 Dec 2024 10:41:48 +0100 Subject: [PATCH] set cosign private key --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8746888db..d757fd355 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -191,3 +191,5 @@ jobs: - name: Attach SBOM attestation to image run: | cosign attest --key env://COSIGN_PRIVATE_KEY --predicate py${{ matrix.python-version }}-${{ github.head_ref }}.spdx.json ghcr.io/fkie-cad/logprep:py${{ matrix.python-version }}-${{ github.head_ref }}@${{ steps.build-and-push.outputs.digest }} + env: + COSIGN_PRIVATE_KEY: ${{ secrets.COSIGN_PRIVATE_KEY }}