You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
flotte-user-management/.travis.yml

20 lines
622 B
YAML

dist: bionic
language: bash
services:
- docker
git:
submodules: false
before_install:
- echo -e "machine github.com\n login $GIT_USER\n password $GIT_PW" > ~/.netrc
- git submodule set-url msg-rpc https://github.com/flotte-goes-smart/msg-rpc.git
- git submodule init
- git submodule update
script:
- docker login -u="$DOCKER_USER" -p="$DOCKER_PW" https://flotte-docker-registry.spdns.org/
- docker build -t flotte-user-managment .
- docker tag flotte-user-managment flotte-docker-registry.spdns.org/flotte-user-managment
- docker push flotte-docker-registry.spdns.org/flotte-user-managment:latest