From 37807387f5c2041c1b0f17e92735249987e15b4a Mon Sep 17 00:00:00 2001 From: Daniel Szot Date: Tue, 24 Oct 2023 18:17:02 +0200 Subject: [PATCH] feat: add Snowflake's registries support for oci_pull (#379) --- oci/private/pull.bzl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/oci/private/pull.bzl b/oci/private/pull.bzl index 80266b11..ff1b8b80 100644 --- a/oci/private/pull.bzl +++ b/oci/private/pull.bzl @@ -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):