Skip to content

Commit c8b605b

Browse files
committed
Pin cloud build image to latest.
1 parent bbf264d commit c8b605b

3 files changed

Lines changed: 3 additions & 7 deletions

File tree

.bazelversion

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7.3.2
1+
8.4.2

Dockerfile

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
FROM gcr.io/cloud-marketplace/google/ubuntu2204:latest
22

33
# minimal dependencies for getting bazel/bazelisk
4+
# tzdata needed for some conformance tests.
45
RUN apt-get update && apt-get upgrade -y && \
56
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
67
build-essential \
@@ -30,10 +31,5 @@ RUN apt-get install /tmp/bazelisk.deb
3031
RUN mkdir -p /workspace
3132
RUN mkdir -p /bazel
3233

33-
# cache bazel versions that we might test against.
34-
RUN USE_BAZEL_VERSION=8.4.2 bazelisk
35-
RUN USE_BAZEL_VERSION=7.3.2 bazelisk
36-
RUN USE_BAZEL_VERSION=7.7.1 bazelisk
37-
3834
# note: /usr/bin/bazel is also a symlink to bazelisk
3935
ENTRYPOINT ["/usr/bin/bazelisk"]

cloudbuild.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ steps:
2424
- name: 'golang:1.23.0'
2525
# check the integrity of the vendor directory
2626
args: ['scripts/verify-vendor.sh']
27-
- name: 'gcr.io/cel-analysis/cel-go-bazelisk'
27+
- name: 'gcr.io/cel-analysis/cel-go-bazelisk:latest'
2828
entrypoint: bazel
2929
args:
3030
- 'test'

0 commit comments

Comments
 (0)