Skip to content

Commit

Permalink
Merge pull request #27 from d0ugal/dev
Browse files Browse the repository at this point in the history
Break up the travis release phase
  • Loading branch information
d0ugal authored Oct 16, 2018
2 parents 47380ba + d337cec commit 5409ae9
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
16 changes: 16 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,22 @@ jobs:
env: TOXENV=docker-build ARCH=armhf

- stage: release
env: TOXENV=docker-build ARCH=aarch64
script:
- echo "$DOCKER_PASSWORD" | docker login -u ${DOCKER_USERNAME} --password-stdin
- bash scripts/docker-push.sh ${TRAVIS_BUILD_DIR}
- stage: release
env: TOXENV=docker-build ARCH=i386
script:
- echo "$DOCKER_PASSWORD" | docker login -u ${DOCKER_USERNAME} --password-stdin
- bash scripts/docker-push.sh ${TRAVIS_BUILD_DIR}
- stage: release
env: TOXENV=docker-build ARCH=amd64
script:
- echo "$DOCKER_PASSWORD" | docker login -u ${DOCKER_USERNAME} --password-stdin
- bash scripts/docker-push.sh ${TRAVIS_BUILD_DIR}
- stage: release
env: TOXENV=docker-build ARCH=armhf
script:
- echo "$DOCKER_PASSWORD" | docker login -u ${DOCKER_USERNAME} --password-stdin
- bash scripts/docker-push.sh ${TRAVIS_BUILD_DIR}
2 changes: 1 addition & 1 deletion dropbox-upload/config.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Dropbox Upload",
"version": "1.0.10",
"version": "1.0.11",
"slug": "dropbox_upload",
"description": "Upload snapshots to Dropbox!",
"startup": "application",
Expand Down
2 changes: 1 addition & 1 deletion scripts/docker-push.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ docker run -it --rm --privileged --name "dropbox-upload" \
--image "d0ugal/hassio-dropbox-upload-{arch}" \
--target "dropbox-upload" \
--git \
--all \
--${ARCH:-all} \
--push

0 comments on commit 5409ae9

Please sign in to comment.