Skip to content

Commit

Permalink
fix: correct repo ref
Browse files Browse the repository at this point in the history
  • Loading branch information
soniqua committed Nov 20, 2024
1 parent 8fc72c5 commit 9a49596
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/sigstore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,9 @@ jobs:
# Obtain the digest from this tag
DIGEST=$(curl "https://hub.docker.com/v2/repositories/snyk/snyk-universal-broker/tags/${LATEST_TAG}" | jq '.digest' -r)
# Sign the image, using GitHub as an OIDC provider
cosign sign --yes snyk/snyk-universal-broker-helm@${DIGEST}
cosign sign --yes snyk/snyk-universal-broker-helm:${LATEST_TAG}
cosign sign --yes snyk/snyk-universal-broker@${DIGEST}
cosign sign --yes snyk/snyk-universal-broker:${LATEST_TAG}
- name: Verify signature
run: |
cosign verify \
snyk/snyk-universal-broker-helm@${DIGEST} \
--certificate-identity-regexp="https://github.com/snyk/snyk-universal-broker-helm/.*" \
--certificate-oidc-issuer="https://token.actions.githubusercontent.com"
cosign verify \
snyk/snyk-universal-broker-helm:${LATEST_TAG} \
--certificate-identity-regexp="https://github.com/snyk/snyk-universal-broker-helm/.*" \
--certificate-oidc-issuer="https://token.actions.githubusercontent.com"
cosign verify snyk/snyk-universal-broker@${DIGEST} --certificate-identity-regexp="https://github.com/snyk/snyk-universal-broker-helm/.*" --certificate-oidc-issuer="https://token.actions.githubusercontent.com"
cosign verify snyk/snyk-universal-broker:${LATEST_TAG} --certificate-identity-regexp="https://github.com/snyk/snyk-universal-broker-helm/.*" --certificate-oidc-issuer="https://token.actions.githubusercontent.com"

0 comments on commit 9a49596

Please sign in to comment.