oci rules imported correctly

dev
Nick Dumas 1 year ago
parent 3c180eb02c
commit e26cc2106d

@ -1,4 +1,3 @@
load("@rules_oci//oci:pull.bzl", "oci_pull")
module(
name = "obsidian-markdown",
@ -13,8 +12,8 @@ bazel_dep(name = "rules_pkg", version = "0.9.1")
go_deps = use_extension("@gazelle//:extensions.bzl", "go_deps")
go_deps.from_file(go_mod = "//:go.mod")
oci_pull(
pull = use_extension("@rules_oci//oci:pull.bzl", "go_deps")
pull.oci_pull(
name = "distroless_base",
digest = "sha256:ccaef5ee2f1850270d453fdf700a5392534f8d1a8ca2acda391fbb6a06b81c86",
image = "gcr.io/distroless/base",

@ -1,6 +1,6 @@
{
"lockFileVersion": 1,
"moduleFileHash": "6cd01330e5182d9c2fe78793c2c14fcdd3ba3a439048c3f01595bbf6179ec8f5",
"moduleFileHash": "4376ee8f8190382524794a2807ae221fbd1c39f55887ba6ddecd7f932e576df6",
"flags": {
"cmdRegistries": [
"https://bcr.bazel.build/"
@ -30,7 +30,7 @@
"usingModule": "<root>",
"location": {
"file": "@@//:MODULE.bazel",
"line": 11,
"line": 12,
"column": 24
},
"imports": {},
@ -42,13 +42,39 @@
"devDependency": false,
"location": {
"file": "@@//:MODULE.bazel",
"line": 12,
"line": 13,
"column": 18
}
}
],
"hasDevUseExtension": false,
"hasNonDevUseExtension": true
},
{
"extensionBzlFile": "@rules_oci//oci:pull.bzl",
"extensionName": "go_deps",
"usingModule": "<root>",
"location": {
"file": "@@//:MODULE.bazel",
"line": 15,
"column": 21
},
"imports": {},
"devImports": [],
"tags": [
{
"tagName": "oci_pull",
"attributeValues": {"name":"--distroless_base","digest":"--sha256:ccaef5ee2f1850270d453fdf700a5392534f8d1a8ca2acda391fbb6a06b81c86","image":"--gcr.io/distroless/base","platforms":["--linux/amd64","--linux/arm64"]},
"devDependency": false,
"location": {
"file": "@@//:MODULE.bazel",
"line": 16,
"column": 14
}
}
],
"hasDevUseExtension": false,
"hasNonDevUseExtension": true
}
],
"deps": {

Loading…
Cancel
Save