diff --git a/.ci-operator.yaml b/.ci-operator.yaml index e307e5af6..284a91009 100644 --- a/.ci-operator.yaml +++ b/.ci-operator.yaml @@ -1,4 +1,4 @@ build_root_image: name: release namespace: openshift - tag: rhel-9-release-golang-1.24-openshift-4.21 + tag: rhel-9-release-golang-1.24-openshift-4.22 diff --git a/images/cluster-capacity/Dockerfile.ocp b/images/cluster-capacity/Dockerfile.ocp index 3cd97fe54..a7490afbf 100644 --- a/images/cluster-capacity/Dockerfile.ocp +++ b/images/cluster-capacity/Dockerfile.ocp @@ -1,9 +1,9 @@ -FROM registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.24-openshift-4.21 AS builder +FROM registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.24-openshift-4.22 AS builder WORKDIR /go/src/sigs.k8s.io/cluster-capacity COPY . . RUN GO111MODULE=auto go build -o hypercc ./cmd/hypercc -FROM registry.ci.openshift.org/ocp/4.21:base-rhel9 +FROM registry.ci.openshift.org/ocp/4.22:base-rhel9-minimal COPY --from=builder /go/src/sigs.k8s.io/cluster-capacity/hypercc /usr/bin/ RUN ln -sf /usr/bin/hypercc /usr/bin/cluster-capacity RUN ln -sf /usr/bin/hypercc /usr/bin/genpod