diff --git a/.ci-operator.yaml b/.ci-operator.yaml index 2abb828f21..861496b841 100644 --- a/.ci-operator.yaml +++ b/.ci-operator.yaml @@ -1,3 +1,7 @@ +build_root_image: + name: release + namespace: openshift + tag: rhel-8-release-golang-1.17-openshift-4.11 project_image: context_dir: . dockerfile_path: base.Dockerfile diff --git a/operator-registry.Dockerfile b/operator-registry.Dockerfile index 8dff98c5ee..0748f1f387 100644 --- a/operator-registry.Dockerfile +++ b/operator-registry.Dockerfile @@ -1,4 +1,4 @@ -FROM registry.ci.openshift.org/ocp/builder:rhel-8-golang-1.16-openshift-4.10 AS builder +FROM registry.ci.openshift.org/ocp/builder:rhel-8-golang-1.17-openshift-4.11 AS builder ENV GOPATH /go ENV PATH $GOPATH/bin:/usr/local/go/bin:$PATH @@ -11,7 +11,7 @@ RUN make build/registry cross # copy and build vendored grpc_health_probe RUN CGO_ENABLED=0 go build -mod=vendor -tags netgo -ldflags "-w" ./vendor/github.com/grpc-ecosystem/grpc-health-probe/... -FROM registry.ci.openshift.org/ocp/4.10:base +FROM registry.ci.openshift.org/ocp/4.11:base COPY --from=builder /src/bin/* /bin/registry/ COPY --from=builder /src/grpc-health-probe /bin/grpc_health_probe