Skip to content

Commit 13fd5c2

Browse files
authored
Merge pull request #786 from bryantbiggs/chore/update-go
chore: Update to go `1.23.4`
2 parents 9f6d3d4 + 82d66b4 commit 13fd5c2

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

.go-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.22.7
1+
1.23.4

Dockerfile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,21 +11,21 @@
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
14-
ARG image=public.ecr.aws/eks-distro-build-tooling/eks-distro-minimal-base-nonroot:2024-08-13-1723575672.2
15-
ARG golang_image=public.ecr.aws/docker/library/golang:1.22.5
14+
ARG image=public.ecr.aws/eks-distro-build-tooling/eks-distro-minimal-base-nonroot:2024-10-01-1727740884.2023
15+
ARG golang_image=public.ecr.aws/docker/library/golang:1.23.4
1616

1717
FROM --platform=$BUILDPLATFORM $golang_image AS builder
1818
WORKDIR /go/src/github.com/kubernetes-sigs/aws-iam-authenticator
1919
COPY . .
2020
RUN go version
21-
RUN goproxy=https://goproxy.io go mod download
21+
2222
ARG TARGETOS TARGETARCH
23-
RUN GOOS=$TARGETOS GOARCH=$TARGETARCH make bin
23+
RUN GOPROXY=direct GOOS=$TARGETOS GOARCH=$TARGETARCH make bin
2424
RUN chown 65532 _output/bin/aws-iam-authenticator
2525

26-
FROM --platform=$TARGETPLATFORM public.ecr.aws/eks-distro/kubernetes/go-runner:v0.9.0-eks-1-21-4 as go-runner
26+
FROM --platform=$TARGETPLATFORM public.ecr.aws/eks-distro/kubernetes/go-runner:v0.16.4-eks-1-32-2 AS go-runner
2727

2828
FROM --platform=$TARGETPLATFORM $image
29-
COPY --from=go-runner /usr/local/bin/go-runner /usr/local/bin/go-runner
29+
COPY --from=go-runner /go-runner /usr/local/bin/go-runner
3030
COPY --from=builder /go/src/github.com/kubernetes-sigs/aws-iam-authenticator/_output/bin/aws-iam-authenticator /aws-iam-authenticator
3131
ENTRYPOINT ["/aws-iam-authenticator"]

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module sigs.k8s.io/aws-iam-authenticator
22

3-
go 1.22.7
3+
go 1.23.4
44

55
require (
66
github.com/aws/aws-sdk-go v1.54.6

tests/e2e/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module sigs.k8s.io/aws-iam-authenticator/tests/e2e
22

3-
go 1.22.7
3+
go 1.23.4
44

55
require (
66
github.com/onsi/ginkgo/v2 v2.19.0

tests/integration/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module sigs.k8s.io/aws-iam-authenticator/tests/integration
22

3-
go 1.22.7
3+
go 1.23.4
44

55
require (
66
github.com/aws/aws-sdk-go v1.54.6

0 commit comments

Comments
 (0)