Commit 60210741 authored by Daniel Widerin's avatar Daniel Widerin

use registry as var

parent 261df71a
......@@ -2,13 +2,13 @@ image: docker:latest
services:
- docker:dind
variables:
DOCKER_TAG: "registry.gitlab.com/widerin/vlbg-webdev-1016"
DOCKER_TAG: "${DOCKER_REGISTRY}/vlbg-webdev-1016"
stages:
- build
- test
- deploy
before_script:
- docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN registry.gitlab.com
- docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN ${DOCKER_REGISTRY}
.build: &build_template
stage: build
......
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