Skip to content

Commit

Permalink
Add travis CI for docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
jaymoulin committed Jun 8, 2018
1 parent 866f549 commit 141164e
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
sudo: required

services:
- docker

before_install:
- sudo apt update && sudo apt install make -y
- git clone https://github.com/estesp/manifest-tool && cd manifest-tool && sudo make && sudo make install && cd .. && rm -Rf manifest-tool
- docker run --rm --privileged multiarch/qemu-user-static:register
- sudo apt install -y qemu qemu-user-static qemu-user binfmt-support

script:
- echo "$DOCKER_HUB_PASSWORD" | docker login -u "$DOCKER_HUB_LOGIN" --password-stdin
- make build

deploy:
provider: script
script:
- make publish latest
on:
branch: master

0 comments on commit 141164e

Please sign in to comment.