diff --git a/.travis.yml b/.travis.yml index a5e69ea..4f0b898 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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} diff --git a/dropbox-upload/config.json b/dropbox-upload/config.json index 43d1933..566562d 100644 --- a/dropbox-upload/config.json +++ b/dropbox-upload/config.json @@ -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", diff --git a/scripts/docker-push.sh b/scripts/docker-push.sh index 55d9b25..f8f021e 100755 --- a/scripts/docker-push.sh +++ b/scripts/docker-push.sh @@ -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