Skip to content
Snippets Groups Projects
Commit c918b9e3 authored by Cats's avatar Cats
Browse files

digest will no longer be looked up for digest inputs

parent 616c75c6
No related branches found
No related tags found
1 merge request!4digest will no longer be looked up for digest inputs
......@@ -209,7 +209,11 @@ def main():
if not isinstance(image, str):
raise ValueError("'{0}' is not a string".format(str(image)))
imagetopull = taggedimagetodigest(image) if args.use_digest else image
if args.use_digest and "@" not in image:
imagetopull = taggedimagetodigest(image)
else:
imagetopull = image
if imagetopull is not None:
successes.append(
pullimage(imagetopull, args.max_attempts, args.prefix,
......
......@@ -5,4 +5,5 @@ non_existant_quay: "quay.io/HEY!"
non_existant_docker: "Hey!"
wrong_tag_quay: "quay.io/biocontainers/collect-columns:0.2.0--py"
wrong_tag_docker: "alpine:letshopethisisntarealtag"
no_tag: "alpine"
\ No newline at end of file
no_tag: "alpine"
digest: "debian@sha256:f05c05a218b7a4a5fe979045b1c8e2a9ec3524e5611ebfdd0ef5b8040f9008fa"
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment