load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") load("//hack/build/rules/container:index.bzl", "container_push", "go_oci_image") go_library( name = "authserver_lib", srcs = ["main.go"], importpath = "edge-infra.dev/cmd/sds/remoteaccess/authserver", visibility = ["//visibility:private"], deps = [ "//pkg/lib/logging", "//pkg/sds/remoteaccess/authserver", ], ) go_binary( name = "authserver", embed = [":authserver_lib"], visibility = ["//visibility:public"], ) go_oci_image( name = "authserver_container", embed = [":authserver_lib"], tags = [ "manual", "no-remote-cache", ], ) container_push( name = "container_push", image = ":authserver_container", image_name = "authserver", repository_file = "//hack/build/rules/container:workloads-repo", )