@@ -8,15 +8,8 @@ the triggers repo, a terminal window and a text editor.
8
8
9
9
1 . ` cd ` to root of Triggers git checkout.
10
10
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.
13
12
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
- ```
20
13
- [ triggers-release] ( https://github.com/tektoncd/triggers/blob/main/tekton/release-pipeline.yaml )
21
14
``` shell script
22
15
kubectl apply -f tekton/release-pipeline.yaml
@@ -58,11 +51,19 @@ the triggers repo, a terminal window and a text editor.
58
51
59
52
```bash
60
53
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="" \
65
65
--workspace name=release-secret,secret=release-secret \
66
+ --workspace name=release-images-secret,secret=ghcr-creds \
66
67
--workspace name=workarea,volumeClaimTemplateFile=workspace-template.yaml
67
68
```
68
69
0 commit comments