File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,12 @@ parameters:
21
21
- description : Context Dir to use for the jlink workflow
22
22
name : CONTEXT_DIR
23
23
required : true
24
+ - description : A secret string used to configure the GitHub webhook
25
+ name : GITHUB_WEBHOOK_SECRET
26
+ generate : expression
27
+ from : " [a-zA-Z0-9]{16}"
28
+ required : true
29
+ message : " ... The GitHub webhook secret is ${GITHUB_WEBHOOK_SECRET} ..."
24
30
# #############################################################################
25
31
# Following are the objects(imagestream and buildconfigs) for all the 3-stages
26
32
objects :
@@ -114,7 +120,7 @@ objects:
114
120
name : ubi9-openjdk-${JDK_VERSION}-jlink:latest # Output of stage-1 which serves as input to stage-2
115
121
- type : GitHub
116
122
github :
117
- secret : Gvw2O0tXuaAUxleJ
123
+ secret : ${GITHUB_WEBHOOK_SECRET}
118
124
event : push
119
125
# #############################################################################
120
126
# stage-3: The ubi-micro ImageStream
You can’t perform that action at this time.
0 commit comments