1
0
Fork 0
mirror of https://github.com/morpheus65535/bazarr synced 2024-12-25 09:12:38 +00:00

add commit arch tag back

This commit is contained in:
Peter Varsanyi 2018-06-09 20:40:30 -07:00
parent bd1ef7bee8
commit 9fc20458aa

View file

@ -14,8 +14,9 @@ env:
- QEMU_ARCH=aarch64 ARCH=arm64
script:
- docker run --rm --privileged multiarch/qemu-user-static:register
- docker build -t $REPO:$ARCH-latest -f Dockerfile.$ARCH .
- docker build -t $REPO:$ARCH-$COMMIT -f Dockerfile.$ARCH .
after_success:
- docker login -u $DOCKER_USER -p $DOCKER_PASS
- if [ "$ARCH" == "amd64" ]; then docker tag $REPO:$COMMIT $REPO:latest; fi
- docker tag $REPO:$ARCH-$COMMIT $REPO:$ARCH-latest
- if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then docker push $REPO; fi