Skip to content

Commit

Permalink
Bump golang 1.21 for v4.1.2 to avoid CVEs
Browse files Browse the repository at this point in the history
Signed-off-by: Xie Zheng <[email protected]>
  • Loading branch information
zhengxiexie committed Jan 25, 2024
1 parent 497da58 commit 15664d0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/makefile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.19
go-version: 1.21

- name: Run build
run: make build
Expand Down
4 changes: 2 additions & 2 deletions build/image/photon/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
FROM golang:1.19.10 as golang-build
FROM golang:1.21.5 as golang-build

WORKDIR /source

COPY . /source

RUN go build -o manager cmd/main.go
RUN CGO_ENABLED=0 go build -o manager cmd/main.go


FROM photon
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/vmware-tanzu/nsx-operator

go 1.19
go 1.21

replace (
github.com/vmware/go-vmware-nsxt => github.com/mengdie-song/go-vmware-nsxt v0.0.0-20220921033217-dbd234470e30 // inventory-keeper includes all commits from github.com/gran-vmv/go-vmware-nsxt v0.0.0-20211206034609-cd7ffaf2c996
Expand Down

0 comments on commit 15664d0

Please sign in to comment.