diff --git a/tools/container.bzl b/tools/container.bzl index aeae4fbc..4f63fac7 100644 --- a/tools/container.bzl +++ b/tools/container.bzl @@ -23,7 +23,7 @@ def multiarch_go_image(name, binary): oci_image( name = image_target, base = "@distroless_static", - entrypoint = ["/app/{}".format(binary.removeprefix(":"))], + entrypoint = ["/app/{}".format(native.package_relative_label(binary).name)], tars = [tar_target], )