Skip to content

Commit

Permalink
Added Docker automation
Browse files Browse the repository at this point in the history
  • Loading branch information
eldadfux committed Mar 9, 2021
1 parent 86fba1d commit cf4e94f
Showing 1 changed file with 5 additions and 13 deletions.
18 changes: 5 additions & 13 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,8 @@
dist: xenial

arch:
- amd64

os: linux
dist: xenial

language: shell

notifications:
email:
- [email protected]

services:
- docker

Expand All @@ -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
tags: true

0 comments on commit cf4e94f

Please sign in to comment.