Create .travis.yml

This commit is contained in:
Marcsello 2020-11-27 05:55:50 +01:00 committed by GitHub
parent 7ed5a93260
commit 0bad0a112e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

16
.travis.yml Normal file
View File

@ -0,0 +1,16 @@
language: minimal
arch: amd64
os: linux
dist: focal
virt: vm
services:
- docker
script:
- docker build -t="registry.kmlabz.com/unstablevortex/caff-previewer:$TRAVIS_BUILD_NUMBER" .
- docker tag "registry.kmlabz.com/unstablevortex/caff-previewer:$TRAVIS_BUILD_NUMBER" "registry.kmlabz.com/unstablevortex/caff-previewer:latest"
after_success:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin registry.kmlabz.com
- docker push registry.kmlabz.com/unstablevortex/caff-previewer # push all tags