|
6 months ago | |
---|---|---|
keys | 6 months ago | |
README.md | 1 year ago | |
base_image.run | 1 year ago | |
build_image | 1 year ago | |
build_image.run | 8 months ago | |
check_updates | 1 year ago | |
check_updates.run | 1 year ago | |
keys.asc | 6 months ago | |
nginx-registry | 1 year ago | |
playbook.yml | 6 months ago | |
update_images | 1 year ago | |
vars.yml | 8 months ago | |
webhook.conf | 1 year ago |
Set a laminar CI to build your containers.
...................----------.
.-------. . .---------. | build VM |
| gitea |---http---->| webhook | '----------'
'-------' . '---------' .
. . | .
. . v .
. . .---------. .
'....git pull...>| laminar |......... .
. '---------' v .
. | ^ gpg verify .
. docker| '...git commits .
. push | .
. v .
. .----------. .
. | registry | .
. '----------' .
. . .
. proxy. .
. v .
. .-------. .
. | nginx | .
. '-------' .
........^.....................
.--------. |
| docker |---------------'
'--------' docker pull
It will configure a webhook to listen in: http://ip:9000/hooks/build_image
The gitea of your organization should be configured to ping this url with {{ secret }} on each push event.
The openpgp keys used to sign git commits are in the keys
folder, ansible uses keys.asc
to configure them in the server. We can generate this file by concatenating all the keys in one file:
$ cat keys/* > keys.asc