Verified Commit 0f7d209c authored by Adrian Schollmeyer's avatar Adrian Schollmeyer
Browse files

CI: Update image naming

parent 8272c070
......@@ -4,14 +4,12 @@
services:
- docker:20.10.12-dind
variables:
IMAGE_TAG_LEFT: $CI_REGISTRY_IMAGE
IMAGE_TAG_RIGHT: :$CI_COMMIT_REF_SLUG
IMAGE_TAG_LEFT: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG
script:
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- docker build -t $IMAGE_TAG_LEFT-$IMAGE_NAME:$IMAGE_TAG_RIGHT -f Dockerfile.$IMAGE_NAME .
- docker push $IMAGE_TAG_LEFT-$IMAGE_NAME:$IMAGE_TAG_RIGHT
- "echo Image: $CI_REGISTRY / $IMAGE_TAG_LEFT-$IMAGE_NAME:$IMAGE_TAG_RIGHT"
- docker build -t ${IMAGE_TAG_LEFT}-${IMAGE_NAME} -f Dockerfile.${IMAGE_NAME} .
- docker push ${IMAGE_TAG_LEFT}-${IMAGE_NAME}
build_docker_doxygen:
extends: .build-docker
......
Supports Markdown
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