From 792e5fb50d98466eb854fbbb7f9d4e6a1d606cdb Mon Sep 17 00:00:00 2001 From: James Munnelly Date: Tue, 31 Mar 2020 15:26:57 +0100 Subject: [PATCH] helm.bzl: correctly set 'user' attribute on all image targets Signed-off-by: James Munnelly --- build/container.bzl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build/container.bzl b/build/container.bzl index 5b62ce533..a09b0d41b 100644 --- a/build/container.bzl +++ b/build/container.bzl @@ -51,6 +51,7 @@ def multi_arch_container( docker_push_tags = None, tags = None, visibility = None, + user = "0", **kwargs): go_image( @@ -61,6 +62,7 @@ def multi_arch_container( }), stamp = stamp, tags = tags, + user = user, visibility = ["//visibility:private"], **kwargs ) @@ -70,6 +72,7 @@ def multi_arch_container( base = ":%s-internal-notimestamp" % name, stamp = stamp, tags = tags, + user = user, visibility = ["//visibility:public"], )