Skip to content

Firefly III: a personal finances manager

Update build script.

James Cole7526f13ca9b7
diff --git a/.deploy/docker/build-amd64.sh b/.deploy/docker/build-amd64.sh
index b3cfcb13f5..78753b6fd8 100755
--- a/.deploy/docker/build-amd64.sh
+++ b/.deploy/docker/build-amd64.sh
@@ -3,16 +3,18 @@
# build image
echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
+
+
if [ "$TRAVIS_BRANCH" == "develop" ]; then
echo "Build develop amd64"
- docker build -t jc5x/firefly-iii:develop-amd -f Dockerfile.amd64 .
- docker push jc5x/firefly-iii:develop-amd
+ docker build -t jc5x/firefly-iii:develop-amd64 -f Dockerfile.amd64 .
+ docker push jc5x/firefly-iii:develop-amd64
fi
if [ "$TRAVIS_BRANCH" == "master" ]; then
echo "Build master amd64"
- docker build -t jc5x/firefly-iii:latest-amd -f Dockerfile.amd64 .
- docker tag jc5x/firefly-iii:latest-amd jc5x/firefly-iii:release-$VERSION-amd
- docker push jc5x/firefly-iii:latest-amd
- docker push jc5x/firefly-iii:release-$VERSION-amd
+ docker build -t jc5x/firefly-iii:latest-amd64 -f Dockerfile.amd64 .
+ docker tag jc5x/firefly-iii:latest-amd64 jc5x/firefly-iii:release-$VERSION-amd64
+ docker push jc5x/firefly-iii:latest-amd64
+ docker push jc5x/firefly-iii:release-$VERSION-amd64
fi
\ No newline at end of file