Skip to content

Commit

Permalink
Support go 1.22 to fix CVE
Browse files Browse the repository at this point in the history
Signed-off-by: smoshiur1237 <moshiur.rahman@est.tech>
  • Loading branch information
smoshiur1237 committed Nov 22, 2024
1 parent 781ecda commit 501a165
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ jobs:
build:
strategy:
matrix:
go-version: [1.20.x, 1.21.x]
go-version: [1.20.x, 1.21.x, 1.22.x, 1.23.x]
goarch: [386, amd64, arm, arm64, ppc64le, s390x]
os: [ubuntu-latest] #, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ jobs:
test:
strategy:
matrix:
go-version: [1.20.x, 1.21.x]
go-version: [1.20.x, 1.21.x, 1.22.x, 1.23.x]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
Expand Down
2 changes: 1 addition & 1 deletion images/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This Dockerfile is used to build the image available on DockerHub
FROM --platform=$BUILDPLATFORM golang:1.21 as build
FROM --platform=$BUILDPLATFORM golang:1.23 as build

# Add everything
ADD . /usr/src/multus-cni
Expand Down
2 changes: 1 addition & 1 deletion images/Dockerfile.debug
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This Dockerfile is used to build the image available on DockerHub
FROM --platform=$BUILDPLATFORM golang:1.21 as build
FROM --platform=$BUILDPLATFORM golang:1.23 as build

# Add everything
ADD . /usr/src/multus-cni
Expand Down
2 changes: 1 addition & 1 deletion images/Dockerfile.thick
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This Dockerfile is used to build the image available on DockerHub
FROM golang:1.21 as build
FROM golang:1.23 as build

# Add everything
ADD . /usr/src/multus-cni
Expand Down

0 comments on commit 501a165

Please sign in to comment.