diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dc56dcecb..8746888db 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -190,4 +190,4 @@ jobs: - name: Attach SBOM attestation to image run: | - cosign attach attestation --attestation 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 }} + 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 }}