Merge pull request #7 from mzihlmann/test-workflows

drop image signing
This commit is contained in:
mzihlmann 2025-05-25 12:43:58 +01:00 committed by GitHub
commit 0fb88e98d6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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