Remove printing of headers

main
trivernis 1 year ago
parent ce0343c384
commit 0d74097da0
Signed by: Trivernis
GPG Key ID: DFFFCC2C7A02DB45

@ -4,7 +4,6 @@ export def get_image_digest [image: string, tag: string] {
| append [Accept "application/vnd.docker.distribution.manifest.v2+json"] | append [Accept "application/vnd.docker.distribution.manifest.v2+json"]
| append [Authorization $"Bearer ($token)"] | append [Authorization $"Bearer ($token)"]
) )
print $headers
( http get -H $headers $"https://registry.hub.docker.com/v2/($image)/manifests/($tag)" ( http get -H $headers $"https://registry.hub.docker.com/v2/($image)/manifests/($tag)"
| from json | from json

Loading…
Cancel
Save