Using PipelineLib, we get images tagged with a format like 2023-06-06-094537-production.
The .gitlab-ci.yml that we generate using pipeline-to-gitlab tags images with:
- latest
- $CI_COMMIT_TAG
- $CI_COMMIT_SHA
serviceops would prefer that we continue to use the {year}-{month}-{day}-{timestamp}-production format.
Looking at https://gitlab.com/gitlab-org/gitlab/-/issues/22901, I see that there are variables for CI_PIPELINE_CREATED_AT and CI_JOB_STARTED_AT but their format looks like 2021-03-18T04:45:29Z which is invalid (due to colons) for tagging a Docker image.
Resolution
Use this
variables: PUBLISH_IMAGE_TAG: $KOKKURI_PIPELINE_TIMESTAMP-$BUILD_VARIANT