[deploy] variable expansion

3 jobs for CI_COMMIT_BRANCH in 23 seconds (queued for 1 minute and 58 seconds)
latest
Status Job ID Name Coverage
  Build
passed #311727
powershell windows
build_image

00:00:08

 
  Deploy
failed #311728
powershell windows
deploy_branch_image

00:00:07

failed #311729
powershell windows
deploy_image_tagged

00:00:07

 
Name Stage Failure
failed
deploy_image_tagged Deploy
$ echo "Deploying ${env:IMAGE_NAME} with tag ${env:CI_COMMIT_TAG}..."
Deploying travel-time with tag CI_COMMIT_BRANCH...
$ echo "Login for user ${env:DOCKER_USERNAME} using access token!"
Login for user sd-project using access token!
$ echo ${env:DOCKER_ACCESS_TOKEN} | docker login -u ${env:DOCKER_USERNAME} --password-stdin ${env:DEPLOY_REGISTRY}
Login Succeeded
$ docker tag ${env:IMAGE_NAME} ${env:TAGGED_IMAGE}
Error parsing reference: ":CI_COMMIT_BRANCH" is not a valid repository/tag: invalid reference format
ERROR: Job failed: exit status 1
failed
deploy_branch_image Deploy
$ echo "Deploying ${env:IMAGE_NAME} with tag ${env:CI_COMMIT_BRANCH}..."
Deploying travel-time with tag ...
$ echo "Login for user ${env:DOCKER_USERNAME} using access token!"
Login for user sd-project using access token!
$ echo ${env:DOCKER_ACCESS_TOKEN} | docker login -u ${env:DOCKER_USERNAME} --password-stdin ${env:DEPLOY_REGISTRY}
Login Succeeded
$ docker tag ${env:IMAGE_NAME} ${env:TAGGED_IMAGE}
Error parsing reference: ":" is not a valid repository/tag: invalid reference format
ERROR: Job failed: exit status 1