Skip to content

Commit

Permalink
upgrade go version to 1.21
Browse files Browse the repository at this point in the history
Signed-off-by: rksharma95 <[email protected]>
  • Loading branch information
rksharma95 committed Mar 13, 2024
1 parent f0c1cc2 commit 4e7f00e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci-go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

- uses: actions/setup-go@v2
with:
go-version: v1.20.x
go-version: v1.22.x

- name: Check gofmt
run: gofmt -s -d $(find . -type f -name '*.go' -print)
Expand All @@ -40,7 +40,7 @@ jobs:

- uses: actions/setup-go@v2
with:
go-version: v1.20.x
go-version: v1.22.x

- name: Run Gosec Security Scanner
run: |
Expand Down
2 changes: 1 addition & 1 deletion relay-server/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
### Builder

FROM golang:1.20-alpine3.17 as builder
FROM golang:1.22-alpine3.19 as builder

RUN apk update
RUN apk add --no-cache make
Expand Down
4 changes: 3 additions & 1 deletion relay-server/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
module github.com/kubearmor/kubearmor-relay-server/relay-server

go 1.15
go 1.21

toolchain go1.21.8

replace (
github.com/kubearmor/kubearmor-relay-server/relay-server => ./
Expand Down

0 comments on commit 4e7f00e

Please sign in to comment.