updating oci_rules usage

dev
Nick Dumas 1 year ago
parent e5650fb492
commit a68b4b5cbf

@ -12,9 +12,9 @@ go_deps = use_extension("@gazelle//:extensions.bzl", "go_deps")
go_deps.from_file(go_mod = "//:go.mod")
use_repo(go_deps, "com_github_stretchr_testify", "org_uber_go_zap")
pull = use_extension("@rules_oci//oci:pull.bzl", "pull")
pull.oci_pull(
oci = use_extension("@rules_oci//oci:extensions.bzl", "oci")
oci.pull(
name = "distroless_base",
digest = "sha256:ccaef5ee2f1850270d453fdf700a5392534f8d1a8ca2acda391fbb6a06b81c86",
tag = "latest",
image = "gcr.io/distroless/base",
)

@ -20,7 +20,7 @@ go_binary(
load("@rules_pkg//:pkg.bzl", "pkg_tar")
pkg_tar(
name = "demo_tar",
name = "tar",
srcs = [":demo"],
)

Loading…
Cancel
Save