From 7a0414f614b6cc8b1d78cfbb773a2f0192d00d23 Mon Sep 17 00:00:00 2001 From: aeneasr Date: Thu, 13 Dec 2018 16:15:57 +0100 Subject: [PATCH] ci: Fix docker release task Signed-off-by: aeneasr --- .circleci/config.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 00a549458..4735c93d5 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -96,11 +96,9 @@ jobs: - checkout - setup_remote_docker: version: 17.10.0-ce - - run: docker build --build-arg git_tag=$(git describe --tags) --build-arg git_commit=$(git rev-parse HEAD) -f Dockerfile -t oryd/keto:$CIRCLE_TAG . + - run: docker build --build-arg git_tag=$(git describe --tags) --build-arg git_commit=$(git rev-parse HEAD) -f Dockerfile -t oryd/keto:$(echo $CIRCLE_TAG | tr '+' '_') . - run: docker login --username "$DOCKER_USERNAME" --password "$DOCKER_PASSWORD" - - run: docker tag oryd/keto:$CIRCLE_TAG oryd/keto:latest - - run: docker push oryd/keto:$CIRCLE_TAG - - run: docker push oryd/keto:latest + - run: docker push oryd/keto:$(echo $CIRCLE_TAG | tr '+' '_') . release-docs: docker: