mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-24 04:01:27 +00:00
31 lines
906 B
Bash
Executable File
31 lines
906 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
if [ "$TRAVIS_BRANCH" == "develop" ]; then
|
|
TARGET=jc5x/firefly-iii:develop
|
|
IMAGENAME=jc5x/firefly-iii:develop-$ARCH
|
|
|
|
docker manifest create $TARGET $IMAGENAME
|
|
docker manifest annotate $TARGET $IMAGENAME --arch $ARCH --os linux
|
|
docker manifest push $TARGET
|
|
fi
|
|
|
|
echo "The version is $VERSION"
|
|
|
|
if [ "$TRAVIS_BRANCH" == "master" ]; then
|
|
TARGET=jc5x/firefly-iii:latest
|
|
IMAGENAME=jc5x/firefly-iii:latest-$ARCH
|
|
|
|
|
|
docker manifest create $TARGET $IMAGENAME
|
|
docker manifest annotate $TARGET $IMAGENAME --arch $ARCH --os linux
|
|
docker manifest push $TARGET
|
|
|
|
# and another one for version specific:
|
|
TARGET=jc5x/firefly-iii:release-$VERSION
|
|
IMAGENAME=jc5x/firefly-iii:release-$VERSION-$ARCH
|
|
|
|
docker manifest create $TARGET $IMAGENAME
|
|
docker manifest annotate $TARGET $IMAGENAME --arch $ARCH --os linux
|
|
docker manifest push $TARGET
|
|
fi
|