Skip to content

Commit

Permalink
feat: add Snowflake's registries support for oci_pull (#379)
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-dszot authored Oct 24, 2023
1 parent a28de22 commit 3780738
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions oci/private/pull.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,11 @@ _WWW_AUTH = {
"scope": "repository:{repository}:pull",
"service": "container_registry",
},
".app.snowflake.com": {
"realm": "{registry}/v2/token",
"scope": "repository:{repository}:pull",
"service": "{registry}",
},
}

def _strip_host(url):
Expand Down

0 comments on commit 3780738

Please sign in to comment.