Set the platform to ARM.

This commit is contained in:
James Cole 2019-02-02 18:58:49 +01:00
parent e55de9c1d5
commit 5b597e9b1f

View File

@ -13,13 +13,13 @@ echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
if [ "$TRAVIS_BRANCH" == "develop" ]; then
echo "Build develop arm"
docker build -t jc5x/firefly-iii:develop-arm -f Dockerfile-ARM .
docker build -t jc5x/firefly-iii:develop-arm -f Dockerfile-ARM --platform arm .
docker push jc5x/firefly-iii:develop-arm
fi
if [ "$TRAVIS_BRANCH" == "master" ]; then
echo "Build master arm"
docker build -t jc5x/firefly-iii:latest-arm -f Dockerfile-ARM .
docker build -t jc5x/firefly-iii:latest-arm -f Dockerfile-ARM --platform arm .
docker tag jc5x/firefly-iii:latest-arm jc5x/firefly-iii:release-$VERSION-arm
docker push jc5x/firefly-iii:latest-arm
docker push jc5x/firefly-iii:release-$VERSION-arm