ci: add gitlab ci for docker compose

- split into multiple jobs
- specify tags for runner large
- use buildx and add separate builder default has no cache
- build image from cache and push to registry
- compose use tag and pull
- use cache tag for reuse
- https://github.com/moby/buildkit/issues/1981
- https://github.com/moby/buildkit/issues/3730
- use cache-to and cache-from with registry/cache
- add dockerignore to prevent rebuild on git changes
- use individual builders
- add step for docker compose up
- update readme
- update dockerignore
- add gitignore
- use script reduce duplicate code
- cache from and to in build, compose use cache
- dont push images just use cache
- build in compose step from cache
Signed-off-by: Lakshya Singh <lakshay.singh1108@gmail.com>
This commit is contained in:
Lakshya Singh committed 2023-12-06 07:57:31 +05:30
1 parent e24d968f27
commit e926f4aacc
7 files changed
+86 -1

No files matched your search

+3
View File
@@ -0,0 +1,3 @@
#!/usr/bin/sh
cmp bitcoind/bitcoin.conf lightningd/bitcoin.conf