load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( name = "image", srcs = ["image.go"], importpath = "edge-infra.dev/pkg/edge/component/build/image", visibility = ["//visibility:public"], deps = [ "//pkg/lib/errors", "@com_github_google_go_containerregistry//pkg/crane", ], ) go_test( name = "image_test", srcs = ["image_test.go"], embed = [":image"], deps = ["@com_github_stretchr_testify//assert"], )