Commit 0db9bdd3 authored by Administrator's avatar Administrator

Add new file

parent 3c3957b5
#!/bin/bash
git pull
mvn package spring-boot:repackage -Dmaven.test.skip=true
export DOCKER_HOST=registry.cn-shenzhen.aliyuncs.com
export DOCKER_USER=liqingsong@1616554330968404
export DOCKER_PASS=Edgec2018
export COMMIT=`date +%s | md5sum | head -c 10 ; echo`
export TAG="latest"
export BROWSER=fgl/browser
docker build -t $BROWSER:$COMMIT .
docker tag $BROWSER:$COMMIT $DOCKER_HOST/$BROWSER:$TAG
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