4 changed files with 29 additions and 2 deletions
@ -0,0 +1,12 @@
|
||||
#!/bin/bash -e |
||||
|
||||
base="{{ registry_domain }}/$1" |
||||
|
||||
for image in `curl -s -X GET {{ registry }}/v2/_catalog | jq -r '.repositories[]'` |
||||
do |
||||
docker_from=`curl -s {{ repos_url }}/${image}/raw/branch/master/Dockerfile |grep FROM |awk '{ print $2 }'` |
||||
if [ "$base" = "$docker_from" ] |
||||
then |
||||
build_image $image |
||||
fi |
||||
done |
Loading…
Reference in new issue