From a68b4b5cbf3ccb5804755280834a39551e4db177 Mon Sep 17 00:00:00 2001 From: Nick Dumas Date: Wed, 2 Aug 2023 01:02:44 -0400 Subject: [PATCH] updating oci_rules usage --- MODULE.bazel | 6 +++--- cmd/demo/BUILD.bazel | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/MODULE.bazel b/MODULE.bazel index 919eed4..ac23452 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -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", ) diff --git a/cmd/demo/BUILD.bazel b/cmd/demo/BUILD.bazel index b06f1d2..b949e95 100644 --- a/cmd/demo/BUILD.bazel +++ b/cmd/demo/BUILD.bazel @@ -20,7 +20,7 @@ go_binary( load("@rules_pkg//:pkg.bzl", "pkg_tar") pkg_tar( - name = "demo_tar", + name = "tar", srcs = [":demo"], )