...
1load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
2load("//hack/build/rules/container:index.bzl", "container_push", "go_oci_image")
3load("//hack/build/rules/container:third_party_images.bzl", "third_party_container_dep")
4
5go_library(
6 name = "kazelle_image_test_lib",
7 srcs = ["main.go"],
8 importpath = "edge-infra.dev/hack/build/rules/kustomize/gazelle/testdata/image_test/kazelle_image_test",
9 visibility = ["//visibility:private"],
10)
11
12go_binary(
13 name = "kazelle_test",
14 embed = [":kazelle_image_test_lib"],
15 visibility = ["//visibility:public"],
16)
17
18go_oci_image(
19 name = "kazelle_container",
20 embed = [":kazelle_image_test_lib"],
21 tags = ["manual"],
22)
23
24container_push(
25 name = "container_push",
26 image = ":kazelle_container",
27 image_name = "kazelle",
28 repository_file = "//hack/build/rules/container:workloads-repo",
29 visibility = ["//visibility:public"],
30)
View as plain text