Skip to content

How to pull OCI Bundles from Google Artifact Registry? #630

Closed Answered by xNok
xNok asked this question in OPA and Rego
Discussion options

You must be logged in to vote

I ended up finding the trick, you need to specify scopes for this to work

services:
  gar-registry:
    url: https://us-docker.pkg.dev
    type: oci
    credentials:
      gcp_metadata:
        scopes:
          - https://www.googleapis.com/auth/cloud-platform

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@anderseknert
Comment options

Answer selected by xNok
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants