Gitlab CI: update images automatically

Dears, for the proof-of-concept EU-OS (https://eu-os.gitlab.io/), I managed to build my own kinoite-based image. This was a good experience with bluebuild. Kudos! I understand that dependabot on Github allows to automate updates somehow. I need to use Gitlab, because this is what governments have on their premises in my area. Can you please recommend a way to trigger rebuilds whenever the base container has a rebuild?
5 Replies
Luke Skywunker
If you want, you can setup a pipeline schedule to build it for you I use gitlab for my own images myself
Luke Skywunker
Other than that, you'd want to write a more complex pipeline yourself to trigger jobs in your .gitlab-ci.yml file.
Robert
RobertOP4w ago
Do you have logic in place to prevent a new image being built when no upstream changes have been made since last time?
Luke Skywunker
Nope, but you could write a script to do that yourself and update your pipeline You can use skopeo, it's a simple CLI tool for inspecting image metadata

Did you find this page helpful?