@@ -8,15 +8,8 @@ the triggers repo, a terminal window and a text editor.
88
991 . ` cd ` to root of Triggers git checkout.
1010
11- 1 . Make sure the release ` Task ` and ` Pipeline ` are up-to-date on the
12- cluster.
11+ 1 . Make sure the release ` Pipeline ` is up-to-date on the cluster.
1312
14- - [ publish-triggers-release] ( https://github.com/tektoncd/triggers/blob/main/tekton/publish.yaml )
15-
16- This task uses [ ko] ( https://github.com/google/ko ) to build all container images we release and generate the ` release.yaml `
17- ``` shell script
18- kubectl apply -f tekton/publish.yaml
19- ```
2013 - [ triggers-release] ( https://github.com/tektoncd/triggers/blob/main/tekton/release-pipeline.yaml )
2114 ``` shell script
2215 kubectl apply -f tekton/release-pipeline.yaml
@@ -58,11 +51,19 @@ the triggers repo, a terminal window and a text editor.
5851
5952 ```bash
6053 tkn --context dogfooding pipeline start triggers-release \
61- --param=gitRevision="${TRIGGERS_RELEASE_GIT_SHA}" \
62- --param=versionTag="${VERSION_TAG}" \
63- --param=serviceAccountPath=release.json \
64- --param=releaseBucket=gs://tekton-releases/triggers \
54+ --param package=github.com/tektoncd/triggers \
55+ --param imageRegistry=ghcr.io \
56+ --param imageRegistryPath=tektoncd/triggers \
57+ --param imageRegistryRegions="" \
58+ --param imageRegistryUser=tekton-robot \
59+ --param gitRevision="${TRIGGERS_RELEASE_GIT_SHA}" \
60+ --param versionTag="${VERSION_TAG}" \
61+ --param serviceAccountPath=release.json \
62+ --param serviceAccountImagesPath=credentials \
63+ --param releaseBucket=gs://tekton-releases/triggers \
64+ --param koExtraArgs="" \
6565 --workspace name=release-secret,secret=release-secret \
66+ --workspace name=release-images-secret,secret=ghcr-creds \
6667 --workspace name=workarea,volumeClaimTemplateFile=workspace-template.yaml
6768 ```
6869
0 commit comments