Commit 8de40d65 authored by Daniel Seybold's avatar Daniel Seybold

added tag name to gitlab ci

parent 00dd3af3
Pipeline #19485 failed
......@@ -9,6 +9,8 @@ stages:
# Pack stage (docker build)
pack:
variables:
IMAGE_TAG: ${CI_REGISTRY_IMAGE}:${CI_COMMIT_REF_NAME}
stage: pack
script:
# Login to the registry. the variable is automatically set, build and push
......@@ -17,4 +19,5 @@ pack:
- docker build --no-cache -t $CI_REGISTRY_IMAGE:$TS .
- docker push $CI_REGISTRY_IMAGE:$TS
- docker tag $CI_REGISTRY_IMAGE:$TS $CI_REGISTRY_IMAGE:latest
- docker push $CI_REGISTRY_IMAGE:latest
# - docker push $CI_REGISTRY_IMAGE:latest
- docker push ${IMAGE_TAG}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment