docker-compose build fix

pull/555/head
Jakov Buratovic 4 years ago
parent b6aa14a6cc
commit 1cf463b227
  1. 7
      apps/remix-ide/ci/build_and_publish_docker_images.sh

@ -1,10 +1,11 @@
#!/bin/bash #!/bin/bash
set -e set -e
export TAG="$CIRCLE_BRANCH" if [ "$CIRCLE_BRANCH" == "master" ];
then
if [ "$CIRCLE_BRANCH" == "master" ]; then
export TAG="latest"; export TAG="latest";
else
export TAG=$(sed 's/#/-/g' <<< $CIRCLE_BRANCH)
fi fi
docker login --username $DOCKER_USER --password $DOCKER_PASS docker login --username $DOCKER_USER --password $DOCKER_PASS

Loading…
Cancel
Save