Skip to content

Commit 17e1a77

Browse files
Martin Bastimmorhun
authored andcommitted
fix: pin ose-operator-registry image
Pin to specific image digest in all OPM tasks. Do not rely on floating tags for reproducibility. Signed-off-by: Martin Basti <mbasti@redhat.com>
1 parent 8b397c8 commit 17e1a77

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

task/opm-get-bundle-version/0.1/opm-get-bundle-version.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ spec:
2020
imagePullPolicy: IfNotPresent
2121
steps:
2222
- name: opm-render-bundle
23-
image: "registry.redhat.io/openshift4/ose-operator-registry:latest"
23+
image: "registry.redhat.io/openshift4/ose-operator-registry:latest@sha256:fb659a4c2942db5f1073c6b66be5c7ac2e4aed30432cce4aff08b9d5874010e9"
2424
securityContext:
2525
runAsUser: 0
2626
env:

task/opm-render-bundles/0.1/opm-render-bundles.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ spec:
2727
imagePullPolicy: IfNotPresent
2828
steps:
2929
- name: opm-render-bundles
30-
image: "registry.redhat.io/openshift4/ose-operator-registry:latest"
30+
image: "registry.redhat.io/openshift4/ose-operator-registry:latest@sha256:fb659a4c2942db5f1073c6b66be5c7ac2e4aed30432cce4aff08b9d5874010e9"
3131
workingDir: $(workspaces.source.path)/source
3232
securityContext:
3333
runAsUser: 0

0 commit comments

Comments
 (0)