BUGFIX: CI_COMMIT_TAG does not exist before Gitlab 9.0

3 jobs for 0.1.1 in 23 seconds (queued for 2 seconds)
latest
Status Job ID Name Coverage
  Build
passed #3089
build

00:00:15

 
  Push
failed #3090
push_app

00:00:03

 
  Cleanup
passed #3091
cleanup

00:00:05

 
Name Stage Failure
failed
push_app Push There is an unknown failure, please try again
CPython version: 2.7.13
OpenSSL version: OpenSSL 1.0.1t 3 May 2016
$ echo "Start processing ${APP_VERSION} in ${ISOLATION}"
Start processing 0.1.1 in pipeline_894
$ docker login -u "${REGISTRY_USERNAME}" -p "${REGISTRY_PASSWORD}"
Login Succeeded
$ docker tag ${ISOLATION}_app ${APP_IMAGE}:${CI_COMMIT_TAG}
Error parsing reference: "ttree/phpbu:" is not a valid repository/tag
ERROR: Job failed: exit status 1