Skip to content

Commit 597b599

Browse files
authored
Upgrade go version to 1.22.4 (#2279)
Upgrade go version to `1.22.4` and docker base image to [golang:1.22.4-alpine](https://hub.docker.com/layers/library/golang/1.22.4-alpine/images/sha256-9d8429ee88687b18c0f681ce2ad60446c7a1a3472d455f031e2317802ca9fbc4?context=explore)
1 parent 26ca9c3 commit 597b599

File tree

16 files changed

+16
-16
lines changed

16 files changed

+16
-16
lines changed

.github/workflows/lint.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
- name: Set up Go
4545
uses: actions/setup-go@v5
4646
with:
47-
go-version: '>=1.22.3'
47+
go-version: '>=1.22.4'
4848
- name: Set up terraform
4949
uses: hashicorp/setup-terraform@v2
5050
- name: Run pylint and yapf, go vet

docker/ci/install_go.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ set -eux
1919

2020
# Download and install Go
2121
# https://pkg.go.dev/golang.org/x/tools/cmd/getgo#section-readme
22-
curl -LO https://get.golang.org/$(uname)/go_installer && chmod +x go_installer && SHELL="bash" ./go_installer -version 1.22.3 && rm go_installer
22+
curl -LO https://get.golang.org/$(uname)/go_installer && chmod +x go_installer && SHELL="bash" ./go_installer -version 1.22.4 && rm go_installer

docker/indexer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
FROM golang:1.22.3-alpine@sha256:7e788330fa9ae95c68784153b7fd5d5076c79af47651e992a3cdeceeb5dd1df0 AS GO_BUILD
15+
FROM golang:1.22.4-alpine@sha256:9d8429ee88687b18c0f681ce2ad60446c7a1a3472d455f031e2317802ca9fbc4 AS GO_BUILD
1616
WORKDIR /build
1717

1818
# Cache dependencies in these steps

docker/indexer/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/google/osv.dev/docker/indexer
22

3-
go 1.22.3
3+
go 1.22.4
44

55
require (
66
cloud.google.com/go/datastore v1.15.0

docker/terraform/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Taken and modified from https://github.com/GoogleCloudPlatform/cloud-builders-community/tree/master/terraform
22

3-
FROM golang:1.22.3-alpine@sha256:7e788330fa9ae95c68784153b7fd5d5076c79af47651e992a3cdeceeb5dd1df0 AS GO_BUILD
3+
FROM golang:1.22.4-alpine@sha256:9d8429ee88687b18c0f681ce2ad60446c7a1a3472d455f031e2317802ca9fbc4 AS GO_BUILD
44

55
ARG TERRAFORM_VERSION
66
WORKDIR /build/

docs/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module osv.dev/tools
22

3-
go 1.22.3
3+
go 1.22.4
44

55
require (
66
github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0

go.work

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
go 1.22.3
1+
go 1.22.4
22

33
use (
44
./docker/indexer

tools/datastore-remover/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/google/datastore-remover
22

3-
go 1.22.3
3+
go 1.22.4
44

55
require (
66
cloud.google.com/go/datastore v1.15.0

tools/indexer-api-caller/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module github.com/google/indexer-api-caller
22

3-
go 1.22.3
3+
go 1.22.4

vulnfeeds/cmd/alpine/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
FROM golang:1.22.3-alpine@sha256:2a882244fb51835ebbd8313bffee83775b0c076aaf56b497b43d8a4c72db65e1 AS GO_BUILD
15+
FROM golang:1.22.4-alpine@sha256:9d8429ee88687b18c0f681ce2ad60446c7a1a3472d455f031e2317802ca9fbc4 AS GO_BUILD
1616

1717
RUN mkdir /src
1818
WORKDIR /src

0 commit comments

Comments
 (0)