ansible playbook to set up a laminar container Ci build. moved to: https://git.sindominio.net/sindominio/ansible_laminar
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/check_updates.run

15 lines
334 B

#!/bin/bash -x
for image in `curl -s -X GET {{ registry_domain }}/v2/_catalog | jq -r '.repositories[]'`
do
if [ "$image" == "debian" ]
then
continue
fi
docker run --entrypoint /bin/bash -u root {{ registry_domain }}/$image -c "apt-get update; apt-get upgrade --assume-no"
if [ $? -ne 0 ]
then
build_image $image
fi
done