Add versions listing script
This commit is contained in:
parent
91ccc819d5
commit
55dc3a1d2a
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'
|
Loading…
Reference in New Issue
Block a user