From 1cf463b2271a8bb40a45b1657f2f497c0c163b53 Mon Sep 17 00:00:00 2001 From: Jakov Buratovic Date: Thu, 5 Nov 2020 08:02:25 +0100 Subject: [PATCH] docker-compose build fix --- apps/remix-ide/ci/build_and_publish_docker_images.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/apps/remix-ide/ci/build_and_publish_docker_images.sh b/apps/remix-ide/ci/build_and_publish_docker_images.sh index b51324fd77..5f50eca5ad 100755 --- a/apps/remix-ide/ci/build_and_publish_docker_images.sh +++ b/apps/remix-ide/ci/build_and_publish_docker_images.sh @@ -1,10 +1,11 @@ #!/bin/bash set -e -export TAG="$CIRCLE_BRANCH" - -if [ "$CIRCLE_BRANCH" == "master" ]; then +if [ "$CIRCLE_BRANCH" == "master" ]; +then export TAG="latest"; +else + export TAG=$(sed 's/#/-/g' <<< $CIRCLE_BRANCH) fi docker login --username $DOCKER_USER --password $DOCKER_PASS