From cf4e94fd2bdb0196715372152b352cd5371b1613 Mon Sep 17 00:00:00 2001 From: Eldad Fux Date: Tue, 9 Mar 2021 20:09:23 +0200 Subject: [PATCH] Added Docker automation --- .travis.yml | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/.travis.yml b/.travis.yml index 7b77b1d..bd49ea5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,16 +1,8 @@ -dist: xenial - -arch: - - amd64 - os: linux +dist: xenial language: shell -notifications: - email: - - team@appwrite.io - services: - docker @@ -25,15 +17,15 @@ before_install: echo "${DOCKERHUB_PULL_PASSWORD}" | docker login --username "${DOCKERHUB_PULL_USERNAME}" --password-stdin fi - docker --version +- docker run --rm --privileged linuxkit/binfmt:v0.8 - docker buildx create --use script: -- docker ps +- docker ps; docker buildx ls deploy: - provider: script edge: true - script: docker buildx build --platform linux/amd64,linux/arm64,linux/ppc64le,linux/s390x -t appwrite/test:2.0 ./ --push + script: docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7,linux/ppc64le,linux/s390x -t appwrite/cli:$TRAVIS_TAG ./ --push on: - repo: appwrite/sdk-for-cli - branch: master \ No newline at end of file + tags: true