Skip to content

Commit 155cdcb

Browse files
milantracygvisor-bot
authored andcommitted
Make buildkite push images with gcr.io at release pipeline.
GCR will be deprecated, while the prefix `gcr.io` will be be hosted via Artifact Registry. By adding this one extra step, all test images will be accessible via both `gcr.io` and `pkg.dev`. PiperOrigin-RevId: 694278137
1 parent c80684f commit 155cdcb

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.buildkite/release.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,15 @@ steps:
2424
if: build.branch == "master" && build.tag == null
2525
commands:
2626
- make ARCH=x86_64 DOCKER_PUSH_AS_LATEST=true push-all-images
27+
- make ARCH=x86_64 REMOTE_IMAGE_PREFIX=gcr.io/gvisor-presubmit DOCKER_PUSH_AS_LATEST=true push-all-images
2728
agents:
2829
arch: "amd64"
2930
- <<: *common
3031
label: ":ship: Push all images (aarch64)"
3132
if: build.branch == "master" && build.tag == null
3233
commands:
3334
- make ARCH=aarch64 DOCKER_PUSH_AS_LATEST=true push-all-images
35+
- make ARCH=aarch64 REMOTE_IMAGE_PREFIX=gcr.io/gvisor-presubmit DOCKER_PUSH_AS_LATEST=true push-all-images
3436
agents:
3537
arch: "arm64"
3638
- <<: *common

images/README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,8 @@ if available.
5252
## Building and pushing images
5353

5454
All images can be built manually by running `build-<image>` and pushed using
55-
`push-<image>`. Note that you can also use `build-all-images` and
56-
`push-all-images`. Note that pushing will require appropriate permissions in the
57-
project.
55+
`push-<image>`. Note that you can also use `push-all-images`. Note that pushing
56+
will require appropriate permissions in the project.
5857

5958
The continuous integration system can either take fine-grained dependencies on
6059
individual `push` targets, or ensure all images are up-to-date with a single

0 commit comments

Comments
 (0)