Skip to content

Commit

Permalink
Add gcloud credential instructions near oci_push targets
Browse files Browse the repository at this point in the history
These were copied from the docker_pull script.

Change-Id: Ib44ca5633014da14a9fad64474f2d8abbf9789e2
  • Loading branch information
jblebrun committed Jun 25, 2024
1 parent 960d461 commit b0db98c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions oak_containers_system_image/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,15 @@ oci_image(
tars = [":nvidia_base_image_tar"],
)

# Helper targets for pushing base images.
#
# In order to set up the necessary credentials:
#
# - Install `gcloud`: https://cloud.google.com/sdk/docs/downloads-interactive
# - `gcloud auth login`
# - `gcloud config set project oak-ci`
# - `gcloud auth configure-docker`
# - `gcloud auth configure-docker europe-west2-docker.pkg.dev`
# After running this target, you will need to update the hash for
# oak_containers_sysimage_base in the WORKSPACE file to use it.
oci_push(
Expand Down

0 comments on commit b0db98c

Please sign in to comment.