Skip to content

Commit

Permalink
Use gcr.io/cloud-builders/bazel:6.4.0 for cloudbuild
Browse files Browse the repository at this point in the history
  • Loading branch information
hakman committed Jun 20, 2024
1 parent 592e16c commit 1352d49
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cloudbuild.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
steps:
- name: gcr.io/bazel-public/bazel:6.3.2
- name: gcr.io/cloud-builders/bazel:6.4.0
entrypoint: bash
args: ['whoami']

- name: gcr.io/bazel-public/bazel:6.3.2
- name: gcr.io/cloud-builders/bazel:6.4.0
entrypoint: bazel
args: ['build', '//cmd/...', '//images:etcd-manager', '//images:etcd-manager-slim', '//images:etcd-backup', '//images:etcd-dump']
# To build with GCS cache
#args: ['build', '--google_default_credentials', '--spawn_strategy=remote', '--genrule_strategy=remote', '--strategy=Javac=remote', '--strategy=Closure=remote', '--remote_http_cache=https://storage.googleapis.com/cache-bucket', '//cmd/...']

- name: gcr.io/bazel-public/bazel:6.3.2
- name: gcr.io/cloud-builders/bazel:6.4.0
entrypoint: bazel
args: ['test', '//test/...', '--test_output=streamed', '--local_test_jobs=1']

Expand Down

0 comments on commit 1352d49

Please sign in to comment.