...
1load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
2
3go_library(
4 name = "containers",
5 srcs = [
6 "doc.go",
7 "options.go",
8 "push.go",
9 ],
10 importpath = "edge-infra.dev/pkg/tools/hack/containers",
11 visibility = ["//visibility:public"],
12 deps = [
13 "//pkg/lib/build/bazel",
14 "@com_github_google_go_containerregistry//pkg/name",
15 ],
16)
17
18go_test(
19 name = "containers_test",
20 srcs = ["push_test.go"],
21 data = glob(["testdata/**"]),
22 embed = [":containers"],
23 deps = ["@com_github_stretchr_testify//assert"],
24)
View as plain text