mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Include adm64 build and manifest stuff.
This commit is contained in:
parent
745624f044
commit
6b94210de5
15
.deploy/docker/build-amd64.sh
Executable file
15
.deploy/docker/build-amd64.sh
Executable file
@ -0,0 +1,15 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# build image
|
||||
docker build -t jc5x/ff-test-builds:develop -f Dockerfile .
|
||||
echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
|
||||
|
||||
if [ "$TRAVIS_BRANCH" == "develop" ]; then
|
||||
docker push jc5x/firefly-iii:develop
|
||||
fi
|
||||
|
||||
if [ "$TRAVIS_BRANCH" == "master" ]; then
|
||||
docker login -u="$DOCKER_USER" -p="$DOCKER_PASS"
|
||||
docker push jc5x/firefly-iii:latest
|
||||
docker push jc5x/firefly-iii:release-$VERSION
|
||||
fi
|
@ -13,4 +13,9 @@ services:
|
||||
- docker
|
||||
|
||||
script:
|
||||
- .deploy/docker/build-arm.sh
|
||||
- .deploy/docker/build-arm.sh
|
||||
- .deploy/docker/build-amd64.sh
|
||||
- docker manifest create jc5x/ff-test-builds jc5x/firefly-iii:develop jc5x/firefly-iii:develop-arm
|
||||
- docker manifest annotate jc5x/ff-test-builds jc5x/firefly-iii:develop-arm --arch arm --os linux
|
||||
- docker manifest annotate jc5x/ff-test-builds jc5x/firefly-iii:develop --arch amd64 --os linux
|
||||
- docker manifest push jc5x/ff-test-builds
|
||||
|
Loading…
Reference in New Issue
Block a user