diff --git a/bin/image-versions.sh b/bin/image-versions.sh new file mode 100755 index 0000000..53fd987 --- /dev/null +++ b/bin/image-versions.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +# Usage: ./image-version.sh +# Example: ./image-version.sh gitea/gitea +# +# Reads image metadata from Docker hub and lists versions + +IMAGE="$1" + +skopeo inspect "docker://$IMAGE" | jq '.RepoTags'