Skip to content

Publish official Docker images when PUBLISH_IMAGES is set

Fabien Catteau requested to merge 338826-rebuild-last-image into main

What does this MR do?

In a pipeline for the default branch, and when CI variable PUBLISH_IMAGES is set, tag and push Docker images with image tags that match:

  • the patch version X.Y.Z
  • the major version X

This is a port of gitlab-org/security-products/ci-templates!255 (merged) and gitlab-org/security-products/ci-templates!257 (merged)

What are the relevant issue numbers?

https://gitlab.com/gitlab-org/gitlab/-/issues/338826

Does this MR meet the acceptance criteria?

Edited by Fabien Catteau

Merge request reports