Update golang Docker tag to v1.22.0
This commit is contained in:
parent
669144c09f
commit
f3a9b151cd
2 changed files with 3 additions and 3 deletions
|
@ -3,14 +3,14 @@ name: build
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: gofmt
|
- name: gofmt
|
||||||
image: golang:1.21.7
|
image: golang:1.22.0
|
||||||
commands:
|
commands:
|
||||||
- gofmt -l -s .
|
- gofmt -l -s .
|
||||||
when:
|
when:
|
||||||
event:
|
event:
|
||||||
- push
|
- push
|
||||||
- name: vuln-check
|
- name: vuln-check
|
||||||
image: golang:1.21.7
|
image: golang:1.22.0
|
||||||
commands:
|
commands:
|
||||||
- go install golang.org/x/vuln/cmd/govulncheck@latest
|
- go install golang.org/x/vuln/cmd/govulncheck@latest
|
||||||
- govulncheck ./...
|
- govulncheck ./...
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
FROM golang:1.21.7-bookworm AS build
|
FROM golang:1.22.0-bookworm AS build
|
||||||
|
|
||||||
# Create build workspace folder
|
# Create build workspace folder
|
||||||
WORKDIR /workspace
|
WORKDIR /workspace
|
||||||
|
|
Loading…
Reference in a new issue