Closed jquick closed 6 months ago
Thanks @toote! I really appreciate your feedback and help. I think I have addressed the style issues and ran a few builds on the new logic and it looks to work as expected. Since we are splitting out run/build I think having build-labels
and the current run-labels
should be sufficient for most cases.
It would be really handy to be able to add service labels in the pipeline. This change allows labels to be defined for build or run.
This will add any defined labels to the compose override and those will be merged accordingly. Small example:
docker-compose.yml
pipeline.yml
image labels after build:
Testing
I've done some basic Buldkite builds with different combinations of
labels
andcache_from
.Use Case
Our users setup their own compose files. As owners we want to ensure that every image is built with specific labels.