drop image signing

This commit is contained in:
Martin Zihlmann 2025-05-25 12:43:05 +01:00
parent 2da25aa579
commit 4f4acef03c
No known key found for this signature in database
GPG Key ID: 0F7784F41354DE99
1 changed files with 0 additions and 11 deletions

View File

@ -100,17 +100,6 @@ jobs:
cache-to: type=gha,mode=max
target: ${{ matrix.target }}
# Sign images if not a PR.
- if: github.event_name != 'pull_request'
uses: sigstore/cosign-installer@3454372f43399081ed03b604cb2d021dabca52bb # v3.8.2
- if: github.event_name != 'pull_request'
run: |
cosign sign --yes \
--key gcpkms://projects/kaniko-project/locations/global/keyRings/cosign/cryptoKeys/cosign \
${{ matrix.image-name }}@${{ steps.build-and-push.outputs.digest }}
cosign sign --yes \
${{ matrix.image-name }}@${{ steps.build-and-push.outputs.digest }}
# If a tag push, use crane to add more tags.
- if: startsWith(github.ref, 'refs/tags/v')
uses: imjasonh/setup-crane@31b88efe9de28ae0ffa220711af4b60be9435f6e # v0.4