ceph-csi/vendor/k8s.io/kubernetes/cluster/images/kubemark/BUILD

37 lines
792 B
Python
Raw Normal View History

2018-01-09 18:57:14 +00:00
package(default_visibility = ["//visibility:public"])
2018-11-26 18:23:56 +00:00
load("@io_bazel_rules_docker//container:container.bzl", "container_image", "container_push")
2018-01-09 18:57:14 +00:00
2018-11-26 18:23:56 +00:00
container_image(
2018-01-09 18:57:14 +00:00
name = "image",
base = "@official_busybox//image",
entrypoint = ["/kubemark"],
files = ["//cmd/kubemark"],
2018-11-26 18:23:56 +00:00
stamp = True,
2018-01-09 18:57:14 +00:00
)
2018-11-26 18:23:56 +00:00
container_push(
2018-01-09 18:57:14 +00:00
name = "push",
2018-11-26 18:23:56 +00:00
format = "Docker",
2018-01-09 18:57:14 +00:00
image = ":image",
2018-03-06 22:33:18 +00:00
registry = "$(REGISTRY)",
repository = "kubemark",
2018-01-09 18:57:14 +00:00
stamp = True,
2018-03-06 22:33:18 +00:00
tag = "$(IMAGE_TAG)",
2018-01-09 18:57:14 +00:00
tags = ["manual"],
)
filegroup(
name = "package-srcs",
srcs = glob(["**"]),
tags = ["automanaged"],
visibility = ["//visibility:private"],
)
filegroup(
name = "all-srcs",
srcs = [":package-srcs"],
tags = ["automanaged"],
visibility = ["//visibility:public"],
)