Skip to content
Snippets Groups Projects
Commit 2cb9b575 authored by Kai K.'s avatar Kai K.
Browse files

Update .gitlab-ci.yml file

parent cbf2b6c2
No related branches found
No related tags found
No related merge requests found
Pipeline #42553 failed
......@@ -13,6 +13,7 @@
variables:
CONTAINER_TEST_IMAGE: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG
CONTAINER_RELEASE_IMAGE: $CI_REGISTRY_IMAGE:latest
BHT_REGISTRY: registry.bht-berlin.de:443
stages:
- build
......@@ -26,7 +27,7 @@ docker-build:
services:
- docker:dind
before_script:
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" "$BHT_REGISTRY"
# Default branch leaves tag empty (= latest tag)
# All other branches are tagged with the escaped branch name (commit ref slug)
script:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment