external-dns/v0.18.0/scripts/get-sha256.sh

9 lines
169 B
Bash

#!/bin/bash
IMAGE=$1
echo -n "image: "
crane digest "${IMAGE}"
echo "architecture"
crane manifest "${IMAGE}" | jq -r '.manifests.[] | .platform.architecture, .digest'