From b639847ef6d7a902f60a271f6d54e4b573f0feef Mon Sep 17 00:00:00 2001 From: apesternikov Date: Tue, 21 Feb 2023 18:57:16 -0800 Subject: [PATCH] strip @ from a generated target name (#123) --- skylib/k8s.bzl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skylib/k8s.bzl b/skylib/k8s.bzl index 79e7e0a7..c0895a38 100644 --- a/skylib/k8s.bzl +++ b/skylib/k8s.bzl @@ -77,7 +77,7 @@ def _image_pushes(name_suffix, images, image_registry, image_repository, image_r rule_name_parts = [image_label, image_registry, image_repository, legacy_name] rule_name_parts = [p for p in rule_name_parts if p] rule_name = "_".join(rule_name_parts) - rule_name = rule_name.replace("/", "_").replace(":", "_") + rule_name = rule_name.replace("/", "_").replace(":", "_").replace("@", "_") if rule_name.startswith("_"): rule_name = rule_name[1:] if rule_name.startswith("_"):