From e2215d2baafebb12b06bd9eac0b2f4e3367bd535 Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Mon, 6 Jul 2015 15:22:08 +0200 Subject: [PATCH] Really replace the docker tag --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index cc393d06ec..3d786881a7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -22,7 +22,7 @@ build: - cd deployment/docker/standalone/ - docker login -u ciuser -p $DOCKERPW -e admin@rami.io docker.rami.io - docker build -t pretix/standalone . - - docker tag pretix/standalone docker.rami.io/pretix/standalone - - docker push docker.rami.io/pretix/standalone + - docker tag -f pretix/standalone docker.rami.io/pretix/standalone:$CI_BUILD_REF_NAME + - docker push docker.rami.io/pretix/standalone:$CI_BUILD_REF_NAME tags: - docker