File tree Expand file tree Collapse file tree 5 files changed +32
-4
lines changed
Expand file tree Collapse file tree 5 files changed +32
-4
lines changed Original file line number Diff line number Diff line change @@ -25,10 +25,10 @@ docker-dev:
2525docker-prod : docker-prod-mpserver docker-prod-mpfrontend
2626
2727docker-prod-mpserver :
28- docker build --no-cache -t aouyang1/ mpserver: $( TRAVIS_TAG ) -f mpserver/Dockerfile_prod mpserver/
28+ ./ docker-prod- mpserver.sh
2929
3030docker-prod-mpfrontend :
31- docker build --no-cache -t aouyang1/ mpfrontend: $( TRAVIS_TAG ) -f mpfrontend/Dockerfile_prod mpfrontend/
31+ ./ docker-prod- mpfrontend.sh
3232
3333deploy : undeploy
3434 docker-compose up -d
@@ -39,7 +39,7 @@ undeploy:
3939push : push-mpserver push-mpfrontend
4040
4141push-mpserver :
42- docker push aouyang1/ mpserver: $( TRAVIS_TAG )
42+ ./push- mpserver.sh
4343
4444push-mpfrontend :
45- docker push aouyang1/ mpfrontend: $( TRAVIS_TAG )
45+ ./push- mpfrontend.sh
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ TAG=latest
4+ if [ " ${TRAVIS_TAG} " != " " ]; then
5+ TAG=${TRAVIS_TAG}
6+ fi
7+ docker build --no-cache -t aouyang1/mpfrontend:${TAG} -f mpserver/Dockerfile_prod mpfrontend/
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ TAG=latest
4+ if [ " ${TRAVIS_TAG} " != " " ]; then
5+ TAG=${TRAVIS_TAG}
6+ fi
7+ docker build --no-cache -t aouyang1/mpserver:${TAG} -f mpserver/Dockerfile_prod mpserver/
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ TAG=latest
4+ if [ " ${TRAVIS_TAG} " != " " ]; then
5+ TAG=${TRAVIS_TAG}
6+ fi
7+ docker push aouyang1/mpfrontend:${TAG}
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ TAG=latest
4+ if [ " ${TRAVIS_TAG} " != " " ]; then
5+ TAG=${TRAVIS_TAG}
6+ fi
7+ docker push aouyang1/mpserver:${TAG}
You can’t perform that action at this time.
0 commit comments