Skip to content

Commit f5b5ad7

Browse files
authored
[release-v1.15] Use signed artifacts in cli image (#538)
1 parent 9e75c93 commit f5b5ad7

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

.tekton/kn-client-cli-artifacts-115-pull-request.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ spec:
2626
- GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal
2727
- JAVA_BUILDER=registry.access.redhat.com/ubi8/openjdk-21
2828
- JAVA_RUNTIME=registry.access.redhat.com/ubi8/openjdk-21-runtime
29+
- CLI_ARTIFACTS=brew.registry.redhat.io/rh-osbs/openshift-serverless-1-kn-cli-artifacts-rhel8:1.15.0
2930
- name: git-url
3031
value: '{{source_url}}'
3132
- name: hermetic

.tekton/kn-client-cli-artifacts-115-push.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ spec:
2525
- GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal
2626
- JAVA_BUILDER=registry.access.redhat.com/ubi8/openjdk-21
2727
- JAVA_RUNTIME=registry.access.redhat.com/ubi8/openjdk-21-runtime
28+
- CLI_ARTIFACTS=brew.registry.redhat.io/rh-osbs/openshift-serverless-1-kn-cli-artifacts-rhel8:1.15.0
2829
- name: git-url
2930
value: '{{source_url}}'
3031
- name: hermetic

openshift/ci-operator/knative-images/cli-artifacts/Dockerfile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,16 @@
11
# This is not generated Dockerfile, yet!
2+
ARG GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal
23
ARG CLI_ARTIFACTS=registry.redhat.io/openshift-serverless-1/kn-cli-artifacts-rhel8:1.14
34

4-
FROM $CLI_ARTIFACTS
5+
FROM $CLI_ARTIFACTS as builder
6+
7+
FROM $GO_RUNTIME
58

69
ARG VERSION=knative-v1.15
710

11+
RUN mkdir -p /usr/share/kn
12+
13+
COPY --from=builder /usr/share/kn /usr/share/kn
814
COPY LICENSE /licenses/
915

1016
USER 65532

0 commit comments

Comments
 (0)