Installation one-liner
kubectl apply -f https://infra.tekton.dev/tekton-releases/triggers/previous/v0.36.2/release.yaml
kubectl apply -f https://infra.tekton.dev/tekton-releases/triggers/previous/v0.36.2/interceptors.yamlAttestation
The Rekor UUID for this release is 108e9186e8c5677a22440e674617eb050c6293517dc062c6bb8c4103d7438af010d82a6ff0907ee8
Obtain the attestation:
REKOR_UUID=108e9186e8c5677a22440e674617eb050c6293517dc062c6bb8c4103d7438af010d82a6ff0907ee8
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.36.2/release.yaml
REKOR_UUID=108e9186e8c5677a22440e674617eb050c6293517dc062c6bb8c4103d7438af010d82a6ff0907ee8
# 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.36.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
- 🐛 Update koExtraArgs value from release.yaml (#2175)
Misc
Docs
Thanks
Thanks to these contributors who contributed to v0.36.2!
Extra shout-out for awesome release notes: