Skip to content

Commit

Permalink
fixup: buildier
Browse files Browse the repository at this point in the history
  • Loading branch information
matzf committed Mar 19, 2024
1 parent 416c98e commit af75a96
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions docker/labels.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,11 @@ def scion_labels():
name = "labels",
out = "labels.txt",
stamp_substitutions = {
"MAYBE_VERSION": "org.scion.version=v{{STABLE_GIT_VERSION}}\n"},
"MAYBE_VERSION": "org.scion.version=v{{STABLE_GIT_VERSION}}\n",
},
substitutions = {"MAYBE_VERSION": ""},
template = "labels_tmpl",
visibility = [ "//visibility:public" ],
visibility = ["//visibility:public"],
)

write_file(
Expand All @@ -25,6 +26,6 @@ def scion_labels():
"org.scion=_",
"MAYBE_VERSION",
],
visibility = [ "//visibility:private" ],
visibility = ["//visibility:private"],
tags = ["manual"],
)
2 changes: 1 addition & 1 deletion tools/udpproxy/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ oci_image(
name = "udpproxy_image",
base = "@distroless_base_debian10",
entrypoint = ["/udpproxy"],
tars = [":udpproxy_data"],
labels = "//docker:labels",
tars = [":udpproxy_data"],
)

pkg_tar(
Expand Down

0 comments on commit af75a96

Please sign in to comment.