Commit 63c8b6ec authored by Administrator's avatar Administrator

Update build.sh

parent 8dd5c979
...@@ -10,6 +10,6 @@ export COMMIT=`date +%s | md5sum | head -c 10 ; echo` ...@@ -10,6 +10,6 @@ export COMMIT=`date +%s | md5sum | head -c 10 ; echo`
export TAG="latest" export TAG="latest"
export BROWSER=cloudam/browser export BROWSER=cloudam/browser
docker build -t $BROWSER:$COMMIT . sudo docker build -t $BROWSER:$COMMIT .
docker tag $BROWSER:$COMMIT $DOCKER_HOST/$BROWSER:$TAG sudo docker tag $BROWSER:$COMMIT $DOCKER_HOST/$BROWSER:$TAG
docker push $DOCKER_HOST/$BROWSER sudp docker push $DOCKER_HOST/$BROWSER
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment