Skip to content

Commit

Permalink
Merge pull request #740 from mjura/workflow-v2.9
Browse files Browse the repository at this point in the history
[v2.9] Enforce latest go version and bump to bci image to 15.6
  • Loading branch information
mjura committed Aug 9, 2024
2 parents 326cc29 + a4862e5 commit 7ff9a29
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ module github.com/rancher/eks-operator

go 1.22.0

toolchain go1.22.5

// to be removed when pkg/apis is updated after v1.30 support in rancher
replace k8s.io/apiserver => k8s.io/apiserver v0.29.4

Expand Down
4 changes: 2 additions & 2 deletions package/Dockerfile
Original file line number Diff line number Diff line change
@@ -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

Expand Down

0 comments on commit 7ff9a29

Please sign in to comment.