Skip to content

Commit 021931f

Browse files
committed
Add hooks for stage-2 build
Signed-off-by: Jayashree Huttanagoudar <[email protected]>
1 parent b29d66b commit 021931f

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

templates/jlink/jlinked-app.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,17 @@ objects:
105105
to:
106106
kind: ImageStreamTag
107107
name: intermediate:latest
108+
triggers:
109+
- type: ConfigChange
110+
- type: ImageChange
111+
imageChange:
112+
from:
113+
kind: ImageStreamTag
114+
name: ubi9-openjdk-${JDK_VERSION}-jlink:latest # Output of stage-1 which serves as input to stage-2
115+
- type: GitHub
116+
github:
117+
secret: Gvw2O0tXuaAUxleJ
118+
event: push
108119
##############################################################################
109120
# stage-3: The ubi-micro ImageStream
110121
- apiVersion: image.openshift.io/v1

0 commit comments

Comments
 (0)