11 lines
214 B
Bash
11 lines
214 B
Bash
|
#!/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'
|