mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-12 20:58:33 +00:00
Include adm64 build and manifest stuff.
This commit is contained in:
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
|
||||
@@ -14,3 +14,8 @@ services:
|
||||
|
||||
script:
|
||||
- .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
|
||||
|
||||
Reference in New Issue
Block a user