diff --git a/tekton/release-cheat-sheet.md b/tekton/release-cheat-sheet.md index 5190f02baa8..2102a7f58df 100644 --- a/tekton/release-cheat-sheet.md +++ b/tekton/release-cheat-sheet.md @@ -86,6 +86,15 @@ the pipelines repo, a terminal window and a text editor. | jq ".[].name" ``` + 1. Find the Rekor UUID for the release + + ```bash + RELEASE_FILE=https://storage.googleapis.com/tekton-releases/pipeline/previous/${TEKTON_VERSION}/release.yaml + CONTROLLER_IMAGE_SHA=$(curl $RELEASE_FILE | egrep 'gcr.io.*controller' | cut -d'@' -f2) + REKOR_UUID=$(rekor-cli search --sha $CONTROLLER_IMAGE_SHA | grep -v Found | head -1) + echo -e "CONTROLLER_IMAGE_SHA: ${CONTROLLER_IMAGE_SHA}\nREKOR_UUID: ${REKOR_UUID}" + ``` + 1. Create additional environment variables ```bash @@ -94,36 +103,20 @@ the pipelines repo, a terminal window and a text editor. TEKTON_PACKAGE=tektoncd/pipeline ``` - 1. Create a `PipelineResource` of type `git` - - ```shell - cat <