diff --git a/.bazelversion b/.bazelversion index 09b254e9..dfda3e0b 100644 --- a/.bazelversion +++ b/.bazelversion @@ -1 +1 @@ -6.0.0 +6.1.0 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], )