From 4217c03e8a43ee01a74e019ff318ec52545f8254 Mon Sep 17 00:00:00 2001 From: Jian Zhu Date: Tue, 10 Dec 2024 15:01:40 +0800 Subject: [PATCH] Upgrade base image to ubi9 (#294) Signed-off-by: zhujian --- .github/workflows/go-postsubmit.yml | 2 +- .github/workflows/go-release.yml | 2 +- build/Dockerfile.example | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/go-postsubmit.yml b/.github/workflows/go-postsubmit.yml index ee75a053..11dae985 100644 --- a/.github/workflows/go-postsubmit.yml +++ b/.github/workflows/go-postsubmit.yml @@ -35,7 +35,7 @@ jobs: - name: install imagebuilder run: go install github.com/openshift/imagebuilder/cmd/imagebuilder@v1.2.3 - name: pull base image - run: docker pull registry.access.redhat.com/ubi8/ubi-minimal:latest --platform=linux/${{ matrix.arch }} + run: docker pull registry.access.redhat.com/ubi9/ubi-minimal:latest --platform=linux/${{ matrix.arch }} - name: images run: | IMAGE_TAG=latest-${{ matrix.arch }} \ diff --git a/.github/workflows/go-release.yml b/.github/workflows/go-release.yml index 9def11a3..06bf2ae4 100644 --- a/.github/workflows/go-release.yml +++ b/.github/workflows/go-release.yml @@ -48,7 +48,7 @@ jobs: - name: install imagebuilder run: go install github.com/openshift/imagebuilder/cmd/imagebuilder@v1.2.3 - name: pull base image - run: docker pull registry.access.redhat.com/ubi8/ubi-minimal:latest --platform=linux/${{ matrix.arch }} + run: docker pull registry.access.redhat.com/ubi9/ubi-minimal:latest --platform=linux/${{ matrix.arch }} - name: images run: | IMAGE_TAG=${{ needs.env.outputs.RELEASE_VERSION }}-${{ matrix.arch }} \ diff --git a/build/Dockerfile.example b/build/Dockerfile.example index d35a110f..0f7f46d4 100644 --- a/build/Dockerfile.example +++ b/build/Dockerfile.example @@ -5,9 +5,8 @@ ENV GO_PACKAGE open-cluster-management.io/addon-framework RUN make build --warn-undefined-variables -FROM registry.access.redhat.com/ubi8/ubi-minimal:latest +FROM registry.access.redhat.com/ubi9/ubi-minimal:latest COPY --from=builder /go/src/open-cluster-management.io/addon-framework/busybox / COPY --from=builder /go/src/open-cluster-management.io/addon-framework/helloworld / COPY --from=builder /go/src/open-cluster-management.io/addon-framework/helloworld_helm / COPY --from=builder /go/src/open-cluster-management.io/addon-framework/helloworld_hosted / -