From 16b28af0422a7ba2dc42a81d6b57f271295813f0 Mon Sep 17 00:00:00 2001 From: AOS Automation Release Team Date: Tue, 28 Nov 2023 12:20:16 +0000 Subject: [PATCH] Updating ose-cluster-baremetal-operator-container image to be consistent with ART Reconciling with https://github.com/openshift/ocp-build-data/tree/9dc2a375bf335e7e4e3d7e75abc5c3bdbb0c0e98/images/ose-cluster-baremetal-operator.yml --- .ci-operator.yaml | 2 +- Dockerfile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.ci-operator.yaml b/.ci-operator.yaml index 7cd14bfef..7096df34e 100644 --- a/.ci-operator.yaml +++ b/.ci-operator.yaml @@ -1,4 +1,4 @@ build_root_image: name: release namespace: openshift - tag: rhel-8-release-golang-1.20-openshift-4.15 + tag: rhel-9-release-golang-1.20-openshift-4.15 diff --git a/Dockerfile b/Dockerfile index d34abb788..8fc370e0d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,11 @@ # When bumping the Go version, don't forget to update the configuration of the # CI jobs in openshift/release. -FROM registry.ci.openshift.org/ocp/builder:rhel-8-golang-1.20-openshift-4.15 AS builder +FROM registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.20-openshift-4.15 AS builder WORKDIR /go/src/github.com/openshift/cluster-baremetal-operator COPY . . RUN make build -FROM registry.ci.openshift.org/ocp/4.15:base +FROM registry.ci.openshift.org/ocp/4.15:base-rhel9 COPY --from=builder /go/src/github.com/openshift/cluster-baremetal-operator/bin/cluster-baremetal-operator /usr/bin/cluster-baremetal-operator COPY --from=builder /go/src/github.com/openshift/cluster-baremetal-operator/manifests /manifests LABEL io.openshift.release.operator=true