Skip to content

Commit

Permalink
wip: specify Go version in main as well
Browse files Browse the repository at this point in the history
  • Loading branch information
cceckman committed Dec 20, 2024
1 parent 464e5d0 commit 326bbad
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions cloudbuild.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,19 @@
steps:
- name: 'gcr.io/cloud-builders/go'
- name: 'gcr.io/cloud-builders/go:1.22'
args: ['version']
env: [GOPATH=/gopath']
volumes:
- name: 'go'
path: '/gopath'

- name: 'gcr.io/cloud-builders/go:1.22'
args: ['get', '-d']
env: [GOPATH=/gopath']
volumes:
- name: 'go'
path: '/gopath'

- name: 'gcr.io/cloud-builders/gcloud'
- name: 'gcr.io/cloud-builders/gcloud:1.22'
args: ['app','deploy', 'cron.yaml']
timeout: 600s
env: ['GOPATH=/gopath']
Expand Down

0 comments on commit 326bbad

Please sign in to comment.