ansible playbook to set up a laminar container Ci build. moved to:
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.

13 lines
258 B

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