Skip to content

Commit

Permalink
Merge pull request #1007 from urvi-p/go-v122
Browse files Browse the repository at this point in the history
Add Go v1.22
  • Loading branch information
arifash01 authored Aug 30, 2024
2 parents 7b3987f + c2dd646 commit 02d5a9b
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions go/cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,25 @@ steps:
- '--tag=gcr.io/$PROJECT_ID/go:debian-1.21'
- '.'

# Go 1.22
- name: 'gcr.io/cloud-builders/docker'
args:
- 'build'
- '-f'
- 'Dockerfile.alpine'
- '--build-arg=VERSION=1.22'
- '--tag=gcr.io/$PROJECT_ID/go:alpine-1.22'
- '--tag=gcr.io/$PROJECT_ID/go:1.22'
- '.'
- name: 'gcr.io/cloud-builders/docker'
args:
- 'build'
- '-f'
- 'Dockerfile.debian'
- '--build-arg=VERSION=1.22'
- '--tag=gcr.io/$PROJECT_ID/go:debian-1.22'
- '.'

# Ensure that "go get" works
- name: 'gcr.io/$PROJECT_ID/go:1.20'
args: ['get', 'golang.org/x/net/context']
Expand Down Expand Up @@ -253,6 +272,7 @@ images:
- 'gcr.io/$PROJECT_ID/go:1.19'
- 'gcr.io/$PROJECT_ID/go:1.20'
- 'gcr.io/$PROJECT_ID/go:1.21'
- 'gcr.io/$PROJECT_ID/go:1.22'
- 'gcr.io/$PROJECT_ID/go:alpine-1.15'
- 'gcr.io/$PROJECT_ID/go:debian-1.15'
- 'gcr.io/$PROJECT_ID/go:alpine-1.16'
Expand All @@ -267,5 +287,7 @@ images:
- 'gcr.io/$PROJECT_ID/go:debian-1.20'
- 'gcr.io/$PROJECT_ID/go:alpine-1.21'
- 'gcr.io/$PROJECT_ID/go:debian-1.21'
- 'gcr.io/$PROJECT_ID/go:alpine-1.22'
- 'gcr.io/$PROJECT_ID/go:debian-1.22'

timeout: 2400s

0 comments on commit 02d5a9b

Please sign in to comment.