Skip to content

Commit

Permalink
Containerfile: add OPENSHIFT_CI default value
Browse files Browse the repository at this point in the history
Buildah doesn't choke on this but noticed my editor's syntax highlighter
gets wonky without it. Let's just add it.
  • Loading branch information
jlebon committed Nov 29, 2024
1 parent bda7d44 commit 0b599aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 0b599aa

Please sign in to comment.