-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
28 lines (28 loc) · 2.27 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
sudo: required
services:
- docker
jobs:
include:
- stage: build docker images
script:
- export TAG=$(if [ "x$TRAVIS_TAG" != "x" ]; then echo "$TRAVIS_TAG"; else echo
"latest"; fi)
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- docker build -t cloudkeeper cloudkeeper/core
- docker tag cloudkeeper $DOCKER_REPO/cloudkeeper:$TAG
- docker build -t cloudkeeper-os cloudkeeper/os
- docker tag cloudkeeper-os $DOCKER_REPO/cloudkeeper-os:$TAG
- docker build -t cloud-info cloud-info
- docker tag cloud-info $DOCKER_REPO/cloud-info:$TAG
- docker build -t caso accounting/caso
- docker tag caso $DOCKER_REPO/caso:$TAG
after_success:
- docker push $DOCKER_REPO/cloudkeeper
- docker push $DOCKER_REPO/cloudkeeper-os
- docker push $DOCKER_REPO/cloud-info
- docker push $DOCKER_REPO/caso
env:
global:
- DOCKER_REPO=egifedcloud
- secure: EhyP1qxuiBk+bueSF0OAr1mBFlP4nD7JYgDnO0bVQkScCAESU1GpAMxHNjfmN9qtuN0honZ7KH3g+W+ZkSEc2+cwJ+IiJwVlZeJEObluGaEf0kYc9w+2jrXrSHGRiZUnCwu1eOibVhc34ygTOUlp2ho9idLTVbxvnD25aQb+dOJugZv2Pzjd8O0Oc/pbVxL0wV/h0Cfo9AJxkvAvfg/eAhXEY1pz395KGlKytT6TPrzCDERPsf2UiIdBsG3lAdmbzVqv4xNnRYAS0YQ13ku+/m0b9XzNIS7siTJ/2a+ErloSRSJEOflKZwIoKFDU9ZIHi2kMotm8MsdKHLHpH06+kmgPjBXxiHfmE5SAT+4IaWaWz2cbxLc/M/mGO6XjFHq2R+FTTqXoZvYI2agyrkhxLVaaivTJaOoKrZ/EqL0s67cCN+8+I8cafR9cSUbpCeit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