From d496d3df4ae223a1d1c5776d0f475015e7c305d2 Mon Sep 17 00:00:00 2001 From: Prashanth684 Date: Sat, 27 Apr 2024 12:41:51 -0700 Subject: [PATCH] Add scos tag to machine-config-operator images when building on OKD for scos Avoid the below error when building a release image for OKD: ``` operator "machine-config-operator" contained an invalid image-references file: no input image tag named "rhel-coreos" ``` --- .../openshift-machine-config-operator-master__okd-scos.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ci-operator/config/openshift/machine-config-operator/openshift-machine-config-operator-master__okd-scos.yaml b/ci-operator/config/openshift/machine-config-operator/openshift-machine-config-operator-master__okd-scos.yaml index 03c0d86a6da7..46ba515ad960 100644 --- a/ci-operator/config/openshift/machine-config-operator/openshift-machine-config-operator-master__okd-scos.yaml +++ b/ci-operator/config/openshift/machine-config-operator/openshift-machine-config-operator-master__okd-scos.yaml @@ -17,7 +17,10 @@ build_root: namespace: ocp tag: rhel-8-golang-1.21-openshift-4.16 images: -- dockerfile_path: Dockerfile.rhel7 +- build_args: + - name: TAGS + value: scos + dockerfile_path: Dockerfile.rhel7 from: origin_scos-4.16_base-stream9 inputs: ocp_builder_rhel-8-golang-1.21-openshift-4.16: