...
1load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
2load("//hack/build/rules/container:index.bzl", "container_push", "go_oci_image")
3
4go_library(
5 name = "gh-status_lib",
6 srcs = ["main.go"],
7 importpath = "edge-infra.dev/cmd/tools/gh-status",
8 visibility = ["//visibility:private"],
9 deps = ["//pkg/tools/gh-status"],
10)
11
12go_binary(
13 name = "gh-status",
14 embed = [":gh-status_lib"],
15 visibility = ["//visibility:public"],
16)
17
18go_oci_image(
19 name = "gh-status_container",
20 embed = [":gh-status_lib"],
21 tags = ["manual"],
22)
23
24container_push(
25 name = "container_push",
26 image = ":gh-status_container",
27 image_name = "ghstatus",
28 repository_file = "//hack/build/rules/container:workloads-repo",
29)
View as plain text