Skip to content

fix: Adds docker tag for default branch

John Skarbek requested to merge jts/fix-runner-docker-build into master

When the docker image is built, which only happens on tagging, we create three tags:

  • ci_image_tag - which is normally the $CI_COMMIT_TAG
  • latest
  • CI_DEFAULT_BRANCH - which is current master

Tags are free so why not add another.

This is helpful in cases of development where runbooks is ahead, but no tag is present taking into account the latest changes. This is especially useful in cases where runbooks is vendored in, and the work being tested is not available on a tag. This does require persons to need to build the latest and push it up manually, however.


Though labeled as a Feature, I notated this as a fix because it's so minor in nature, specifically a change to our build images and not the resulting product of this repository.

Edited by John Skarbek

Merge request reports