3 if [ -z "$WORKSPACE" ]; then
4 export WORKSPACE=`git rev-parse --show-toplevel`
7 NEXUS_PREFIX="https://nexus3.onap.org/repository/docker.public/v2"
10 for line in $(tail -n +2 $1); do
11 image=$(echo $line | cut -d , -f 1)
12 tag=$(echo $line | cut -d , -f 2)
13 tags=$(curl -s $NEXUS_PREFIX/$image/tags/list | jq -r '.tags[]')
14 echo "$tags" | grep -q "^$tag\$"
16 echo "[ERROR] $image:$tag not found"
17 echo "$tags" | sed 's/^/ /'