From 2e03d4baf0b9d397e764325363f20bbd972d798e Mon Sep 17 00:00:00 2001 From: Jonathan Lebon Date: Fri, 29 Nov 2024 12:47:19 -0500 Subject: [PATCH] Containerfile: add OPENSHIFT_CI default value Buildah doesn't choke on this but noticed my editor's syntax highlighter gets wonky without it. Let's just add it. --- Containerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Containerfile b/Containerfile index 95d9634f..0ec3ac3c 100644 --- a/Containerfile +++ b/Containerfile @@ -29,8 +29,8 @@ # src/config FROM quay.io/openshift-release-dev/ocp-v4.0-art-dev:c9s-coreos -ARG OPENSHIFT_CI= +ARG OPENSHIFT_CI=0 RUN --mount=type=bind,target=/run/src \ - if [ -n "${OPENSHIFT_CI:-}" ]; then /run/src/ci/get-ocp-repo.sh --ocp-layer /run/src/packages-openshift.yaml; fi && \ + if [ "${OPENSHIFT_CI}" != 0 ]; then /run/src/ci/get-ocp-repo.sh --ocp-layer /run/src/packages-openshift.yaml; fi && \ /run/src/scripts/apply-manifest /run/src/packages-openshift.yaml && \ ostree container commit