1load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") 2 3go_library( 4 name = "image", 5 srcs = ["image.go"], 6 importpath = "edge-infra.dev/pkg/edge/component/build/image", 7 visibility = ["//visibility:public"], 8 deps = [ 9 "//pkg/lib/errors", 10 "@com_github_google_go_containerregistry//pkg/crane", 11 ], 12) 13 14go_test( 15 name = "image_test", 16 srcs = ["image_test.go"], 17 embed = [":image"], 18 deps = ["@com_github_stretchr_testify//assert"], 19)