https://blue-build.org/ logo
Gitlab CI: update images automatically
# questions
r
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?
a
message has been deleted
g
If you want, you can setup a pipeline schedule to build it for you
I use gitlab for my own images myself
Other than that, you'd want to write a more complex pipeline yourself to [trigger jobs](https://docs.gitlab.com/ee/ci/yaml/#trigger) in your
.gitlab-ci.yml
file.
r
Do you have logic in place to prevent a new image being built when no upstream changes have been made since last time?
g
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