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