From d379fc894f1bd0820647eeb59015b3231e9f276a Mon Sep 17 00:00:00 2001 From: michaelschiff Date: Thu, 2 Nov 2023 23:49:28 -0700 Subject: [PATCH] expose tars param of oci_image --- lang/go.bzl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lang/go.bzl b/lang/go.bzl index 9f49d834..7592aa40 100644 --- a/lang/go.bzl +++ b/lang/go.bzl @@ -5,6 +5,7 @@ load("@rules_oci//oci:defs.bzl", "oci_image") def go_image( name, embed, + tars = [], goarch = "amd64", goos = "linux", gotags = ["containers_image_openpgp"], @@ -30,6 +31,6 @@ def go_image( name = name, base = base, entrypoint = ["/" + name + "_binary"], - tars = [":" + name + "_tar"], + tars = [":" + name + "_tar"] + tars, visibility = visibility, )