diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 9101a382..830a8653 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -43,6 +43,11 @@ jobs: with: fetch-depth: 0 ref: ${{ github.ref_name}} + - name: Set up Go + uses: actions/setup-go@v5 + with: + go-version-file: 'go.mod' + check-latest: true - name: Build and push all image variations run: | make operator diff --git a/go.mod b/go.mod index 997effe2..96234538 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,8 @@ module github.com/rancher/eks-operator -go 1.20 +go 1.22.0 + +toolchain go1.22.5 replace k8s.io/client-go => k8s.io/client-go v0.28.6 diff --git a/package/Dockerfile b/package/Dockerfile index b8521e4a..50c32b62 100644 --- a/package/Dockerfile +++ b/package/Dockerfile @@ -1,8 +1,8 @@ -FROM registry.suse.com/bci/bci-base:15.5 AS builder +FROM registry.suse.com/bci/bci-base:15.6 AS builder RUN sed -i 's/^CREATE_MAIL_SPOOL=yes/CREATE_MAIL_SPOOL=no/' /etc/default/useradd RUN useradd --uid 1007 eks-operator -FROM registry.suse.com/bci/bci-micro:15.5 +FROM registry.suse.com/bci/bci-micro:15.6 COPY --from=builder /etc/passwd /etc/passwd COPY --from=builder /etc/shadow /etc/shadow diff --git a/test/e2e/Dockerfile.e2e b/test/e2e/Dockerfile.e2e index 6f18feee..8fa42649 100644 --- a/test/e2e/Dockerfile.e2e +++ b/test/e2e/Dockerfile.e2e @@ -1,4 +1,4 @@ -FROM registry.suse.com/bci/golang:1.21 AS build +FROM registry.suse.com/bci/golang:1.22 AS build RUN zypper -n install -l openssl-devel WORKDIR /src COPY go.mod go.sum /src/