remix-project mirror
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
remix-project/apps/remix-ide/ci/build_and_publish_docker_im...

13 lines
307 B

#!/bin/bash
set -e
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
docker-compose -f docker-compose.yaml -f build.yaml build
docker push remixproject/remix-ide:$TAG