Add versions listing script
This commit is contained in:
10
bin/image-versions.sh
Executable file
10
bin/image-versions.sh
Executable file
@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Usage: ./image-version.sh <image>
|
||||
# Example: ./image-version.sh gitea/gitea
|
||||
#
|
||||
# Reads image metadata from Docker hub and lists versions
|
||||
|
||||
IMAGE="$1"
|
||||
|
||||
skopeo inspect "docker://$IMAGE" | jq '.RepoTags'
|
Reference in New Issue
Block a user