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/build_image.run

13 lines
258 B

#!/bin/bash -ex
git clone {{ repos_url }}/${image}.git
cd ${image}
for commit in `git log --format=%H`
do
git verify-commit $commit || exit 1
done
docker build . -t ${image}
docker tag ${image} {{ registry }}/${image}
docker push {{ registry }}/${image}