Skip to content

Commit

Permalink
Merge pull request #1355 from Nordix/fix-cve-moshiur
Browse files Browse the repository at this point in the history
Support go 1.22 and 1.23 build to fix CVE
  • Loading branch information
dougbtv authored Dec 6, 2024
2 parents 781ecda + ddbcd2c commit 4fc16b3
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 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.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/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.19.x
go-version: 1.22.x

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
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.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 4fc16b3

Please sign in to comment.