Skip to content

Commit 4229655

Browse files
committed
Fix docker build command
1 parent fd57d90 commit 4229655

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Scripts/BuildImage.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ if [ "${TRAVIS_TAG}" != "" ]; then
1313
eval "$(cat login)"
1414
export REPO=${DOCKER_AWS_REPONAME}
1515
export TAG=empty-${TRAVIS_TAG}
16-
docker build -f Dockerfile.empty -t $REPO:$TAG --label Postgres=${DBVersion} .
16+
docker build -f Dockerfile.debug -t $REPO:$TAG .
1717
docker tag $REPO:$TAG $REPO:latest
1818
docker push $REPO > PushLog.log
1919
echo "AWS push log ===="
@@ -23,7 +23,7 @@ if [ "${TRAVIS_TAG}" != "" ]; then
2323
#push to docker-hub
2424
docker login -u ${DOCKER_USER} -p ${DOCKER_PASS}
2525
export REPO=reloni/todo-service
26-
docker build -f Dockerfile.empty -t $REPO:$TAG --label Postgres=${DBVersion} .
26+
docker build -f Dockerfile.debug -t $REPO:$TAG .
2727
docker tag $REPO:$TAG $REPO:latest
2828
docker push $REPO > PushLog.log
2929
echo "Docker hub push log ===="

0 commit comments

Comments
 (0)