Installation one-liner
kubectl apply -f https://infra.tekton.dev/tekton-releases/triggers/previous/v0.37.2/release.yaml
kubectl apply -f https://infra.tekton.dev/tekton-releases/triggers/previous/v0.37.2/interceptors.yamlAttestation
The Rekor UUID for this release is 108e9186e8c5677a889346219c9d5f355c0a1bd1004763a9798a6ba12261500c1e9e6be332e5ac50
Obtain the attestation:
REKOR_UUID=108e9186e8c5677a889346219c9d5f355c0a1bd1004763a9798a6ba12261500c1e9e6be332e5ac50
rekor-cli get --uuid $REKOR_UUID --format json | jq -r .Attestation | jq .Verify that all container images in the attestation are in the release file:
RELEASE_FILE=https://infra.tekton.dev/tekton-releases/triggers/previous/v0.37.2/release.yaml
REKOR_UUID=108e9186e8c5677a889346219c9d5f355c0a1bd1004763a9798a6ba12261500c1e9e6be332e5ac50
# Obtains the list of images with sha from the attestation
REKOR_ATTESTATION_IMAGES=$(rekor-cli get --uuid "$REKOR_UUID" --format json | jq -r .Attestation | jq -r '.subject[]|.name + ":v0.37.2@sha256:" + .digest.sha256')
# Download the release file
curl -L "$RELEASE_FILE" > release.yaml
# For each image in the attestation, match it to the release file
for image in $REKOR_ATTESTATION_IMAGES; do
printf $image; grep -q $image release.yaml && echo " ===> ok" || echo " ===> no match";
doneChanges
Features
Fixes
- Bump go version to 1.26.10 to fix CVE issue (#2193)
- cherry-pick add automatic GitHub draft release creation from main (#2173)
Misc
Docs
Thanks
Thanks to these contributors who contributed to v0.37.2!
Extra shout-out for awesome release notes: