Skip to content

fix(ci): broken docker release build

Tan Le requested to merge fix-release-docker-build into main

What does this merge request do and why?

The release-docker-image:latest job is failing due to the following error.

registry.gitlab.com/gitlab-org/modelops/applied-ml/code-suggestions/ai-assist/model-gateway:60326e21
$ docker tag "${TARGET_IMAGE}" "${RELEASE_VERSION}"
Error parsing reference: ":latest" is not a valid repository/tag: invalid reference format

The bug was introduced in !714 (merged)

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

Merge request checklist

  • Tests added for new functionality. If not, please raise an issue to follow up.
  • Documentation added/updated, if needed.
Edited by Tan Le

Merge request reports