-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.travis.yml
17 lines (17 loc) · 1.74 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
sudo: required
services:
- docker
jobs:
include:
- stage: build docker image
script:
- docker login -u $DOCKER_USER -p $DOCKER_PASS
- export REPO=mvsorg/mvs-explorer-api-v2
- export TAG=`if [ "$TRAVIS_BRANCH" == "master" ]; then echo "latest"; else echo
$TRAVIS_BRANCH; fi`
- docker build -f Dockerfile -t $REPO:$TAG .
- docker push $REPO
env:
global:
- secure: GkwuF2VR8coWjMnKsg+m1J7PjJlek+kwXRTohUSfEtyxeT8W6Ks7AEFPbs/9wR+499acw7/4grYGDg73cWM1A4OmZpIDqDCmaplEwZ/I5iJeqDr9/+9AMCggz9stkmNsg7SAk1wqCOVjLJYXhk04LrkWKp5pJxsNao9wibYsJYCe8S60f2ohAjCF7EghgO9+2GTjamETNHns2LQUyOloaA8B5Iix+q8Zg4vyxDZWVnDe0cUlRw5QtnhYFBNcB1vhAw7Y+P2hqnyVTPWsjJ43iOUSen9rSkX34fmVmqDTUvmJaU4BJgIYT4rdTr01SXqJWlZZiiL6ZhQUI9pTQEtrQn+60tn2DJzKY9hKSYoZ4bQHiUFcSnhkFbWb5747cbOx0kDUhoJN3jaSz1ICwHpbmHNhe4d96abMxclRYH0XcbtZUDqEIGx13qNkpsMgY7dV118P1hQCuXxfKyjw4L7QMtlOCONXOcBbnC3E10BeEUAf4VADaIJEGHClrzLnViGhn5LX2KCjjyl+vS4HfDG+/wghv5ygiAtx1RnK4PcwAHe/2jeSQQ4MNJiu9ljIfB+B+V/fzRih1KF9upw3E5HelTwPXMMZg6GyAkIFtx4KvdWcenitHZ6BKMjhU3WhZ7Em3I4E+JLy86/D+ix3g2gWfx/jSBFacw8liXdsyzTldqw=
- secure: zTMj0IXcIE+1WoIgK91am7HcYamBoLw4sr+jDZ0WRjt9bOxx5vLg8EpiUklyIuPUFNWY+UIhx0KqDC3QeiH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