Skip to content

Commit

Permalink
use go 1.23.2 and k8s.io/client-go v0.32.1 since v4 is in place
Browse files Browse the repository at this point in the history
  • Loading branch information
marcus-sva committed Feb 5, 2025
1 parent 286bc59 commit 0d4b258
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 10 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,11 @@ jobs:
- name: Checkout
uses: actions/checkout@master

- uses: actions/setup-go@v3
- uses: actions/setup-go@v5
name: go-cache
with:
go-version: '1.21'
check-latest: false
cache: true
# caching is enabled by default since setup-go@v4
go-version: '1.23.2'

- name: Build
env:
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
##### BUILD STAGE #####
# use BUILDPLATFORM to pin to the native platform to prevent emulation from kicking in
FROM --platform=$BUILDPLATFORM golang:1.22.11-alpine3.21 AS build
FROM --platform=$BUILDPLATFORM golang:1.23.2-alpine3.20 AS build

# os from --platform linux/amd64
ARG TARGETOS
Expand Down
2 changes: 1 addition & 1 deletion v3/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
##### BUILD STAGE #####
# use BUILDPLATFORM to pin to the native platform to prevent emulation from kicking in
FROM --platform=$BUILDPLATFORM golang:1.22.11-alpine3.21 AS build
FROM --platform=$BUILDPLATFORM golang:1.23.2-alpine3.20 AS build

# os from --platform linux/amd64
ARG TARGETOS
Expand Down
4 changes: 2 additions & 2 deletions v3/go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
module github.com/hobbyfarm/gargantua/v3

go 1.21
go 1.23.0

replace k8s.io/client-go => k8s.io/client-go v0.28.2
replace k8s.io/client-go => k8s.io/client-go v0.32.1

require (
github.com/ebauman/crder v0.1.0
Expand Down
4 changes: 2 additions & 2 deletions v3/services/costsvc/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ module github.com/hobbyfarm/gargantua/services/costsvc/v3

replace github.com/hobbyfarm/gargantua/v3 => ../../

replace k8s.io/client-go => k8s.io/client-go v0.28.2
replace k8s.io/client-go => k8s.io/client-go v0.32.1

go 1.21.1
go 1.23.0

require (
github.com/ebauman/crder v0.1.0
Expand Down

0 comments on commit 0d4b258

Please sign in to comment.