Skip to content

Commit

Permalink
Use go 1.22.12
Browse files Browse the repository at this point in the history
Using the latest go, fixing some cves.

Signed-off-by: Federico Paolinelli <[email protected]>
  • Loading branch information
fedepaol committed Feb 13, 2025
1 parent c157459 commit dba2ece
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 11 deletions.
2 changes: 1 addition & 1 deletion configmaptocrs/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# syntax=docker/dockerfile:1.2

FROM --platform=$BUILDPLATFORM docker.io/golang:1.22.11 AS builder
FROM --platform=$BUILDPLATFORM docker.io/golang:1.22.12 AS builder
WORKDIR $GOPATH/go.universe.tf/metallb

RUN --mount=type=cache,target=/go/pkg/mod/ \
Expand Down
2 changes: 1 addition & 1 deletion controller/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# syntax=docker/dockerfile:1.2

FROM --platform=$BUILDPLATFORM docker.io/golang:1.22.11 AS builder
FROM --platform=$BUILDPLATFORM docker.io/golang:1.22.12 AS builder
WORKDIR $GOPATH/go.universe.tf/metallb

RUN --mount=type=cache,target=/go/pkg/mod/ \
Expand Down
4 changes: 1 addition & 3 deletions e2etest/go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
module go.universe.tf/e2etest

go 1.22.0

toolchain go1.22.11
go 1.22.12

require (
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
Expand Down
4 changes: 2 additions & 2 deletions e2etest/go.work
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
go 1.22.0
go 1.22.12

toolchain go1.22.11
toolchain go1.22.2

use (
../
Expand Down
4 changes: 1 addition & 3 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
module go.universe.tf/metallb

go 1.22.0

toolchain go1.22.11
go 1.22.12

require (
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc
Expand Down
2 changes: 1 addition & 1 deletion speaker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# syntax=docker/dockerfile:1.2

FROM --platform=$BUILDPLATFORM docker.io/golang:1.22.11 AS builder
FROM --platform=$BUILDPLATFORM docker.io/golang:1.22.12 AS builder
WORKDIR $GOPATH/go.universe.tf/metallb

RUN --mount=type=cache,target=/go/pkg/mod/ \
Expand Down

0 comments on commit dba2ece

Please sign in to comment.