ansible playbook to set up a laminar container Ci build
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible_laminar/update_images

11 lines
254 B

#!/bin/bash -ex
base="{{ registry_domain }}/$1"
for image in `curl -s -X GET {{ registry }}/v2/_catalog | jq -r '.repositories[]'`
do
if [ ! -z "`grep "FROM ${base}" {{ laminar_home }}/repos/${image}/Dockerfile`" ]
then
build_image $image
fi
done