From 0bad0a112e548418c3051c74f8bc58f6cc403033 Mon Sep 17 00:00:00 2001 From: Marcsello Date: Fri, 27 Nov 2020 05:55:50 +0100 Subject: [PATCH] Create .travis.yml --- .travis.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..c2596ec --- /dev/null +++ b/.travis.yml @@ -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