Skip to content

gitlab-ci: Accept $BUILD_ID CI var to create additional tags

Emanuele Aina requested to merge wip/em/tag-build-id into apertis/v2022dev0

When triggering a pipeline, by setting the BUILD_ID CI variable it is now possible to tell the pipeline to create $IMAGE:$BUILD_ID tags like v2022dev0-image-builder:20201225.000.

With this it is possible to have an external orchestrator trigger all the nightly pipelines with a shared build id, rather than have each pipeline compute one at different times.

Edited by Emanuele Aina

Merge request reports