Skip to content

Commit

Permalink
data for go binary (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
apesternikov committed Jun 7, 2024
1 parent 7187cdf commit 2eef5b8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lang/go.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,17 @@ def go_image(
tars = [],
goarch = "amd64",
goos = "linux",
gotags = ["containers_image_openpgp"],
gotags = [],
pure = "on",
package_dir = "",
base = "@go_image_static",
data = None,
visibility = ["//visibility:public"]):
"""Emulate syntax of rules_gitops go_image."""
go_binary(
name = name + "_binary",
embed = embed,
data = data,
goarch = goarch,
goos = goos,
gotags = gotags,
Expand Down

0 comments on commit 2eef5b8

Please sign in to comment.