Skip to content

Commit

Permalink
fix: digest output should include algo (#354)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeagle authored Sep 13, 2023
1 parent ea315e1 commit 31f65c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oci/defs.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def oci_image(name, labels = None, annotations = None, env = None, cmd = None, e
name = name + ".digest",
args = ["--raw-output"],
srcs = ["_{}_index.json".format(name)],
filter = """.manifests[0].digest | sub("^sha256:"; "")""",
filter = """.manifests[0].digest""",
out = name + ".json.sha256", # path chosen to match rules_docker for easy migration
tags = propagate_well_known_tags(tags),
)
Expand Down

0 comments on commit 31f65c9

Please sign in to comment.