mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-04 19:53:44 +00:00
Different build flow.
This commit is contained in:
20
.deploy/docker/build-generic.sh
Executable file
20
.deploy/docker/build-generic.sh
Executable file
@@ -0,0 +1,20 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# build image
|
||||
echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
|
||||
|
||||
# build develop
|
||||
if [ "$TRAVIS_BRANCH" == "develop" ]; then
|
||||
echo "Build develop $ARCH"
|
||||
#docker build -t whoami --build-arg "arch=$ARCH" .
|
||||
#docker build -t jc5x/firefly-iii:develop -f Dockerfile --build-arg "arch=$env:ARCH" .
|
||||
#docker push jc5x/firefly-iii:develop
|
||||
fi
|
||||
|
||||
#if [ "$TRAVIS_BRANCH" == "master" ]; then
|
||||
# echo "Build master amd64"
|
||||
# docker build -t jc5x/firefly-iii:latest-amd -f Dockerfile .
|
||||
# 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
|
||||
#fi
|
Reference in New Issue
Block a user