Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Serving images (only) do not seem to have attestation information. #287

Closed
evankanderson opened this issue Dec 4, 2023 · 0 comments · Fixed by #288
Closed

Serving images (only) do not seem to have attestation information. #287

evankanderson opened this issue Dec 4, 2023 · 0 comments · Fixed by #288

Comments

@evankanderson
Copy link
Member

Works:

cosign download attestation $(curl -L https://github.com/knative/eventing/releases/download/knative-v1.12.1/eventing-core.yaml | grep 'image: [a-z]' | head -1 | cut -d: -f2-) | jq -r .payload | base64 --decode | jq

Does not work:

cosign download attestation $(curl -L https://github.com/knative/serving/releases/download/knative-v1.12.2/serving-core.yaml | grep 'image: [a-z]' | head -1 | cut -d: -f2-) | jq -r .payload | base64 --decode | jq

(Error is: main.go:74: error during command execution: found no attestations). I think this is because we aren't setting ATTEST_IMAGES in the serving release job. A grep -L ATTEST_IMAGES *.yaml suggests that Serving is the only repo missed.

I have a PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant