-
Notifications
You must be signed in to change notification settings - Fork 23
/
.travis.yml
18 lines (18 loc) · 2.48 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
sudo: required
language: generic
services:
- docker
after_success:
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
- export REPO=webc/isobuilder
- export TAG=$(test "$TRAVIS_BRANCH" == "master" && echo "latest" || echo "$TRAVIS_BRANCH")
- docker build -t $REPO:$COMMIT .
- docker tag $REPO:$COMMIT $REPO:$TAG
- docker tag $REPO:$COMMIT $REPO:travis-$TRAVIS_BUILD_NUMBER
- docker push $REPO
env:
global:
- secure: 0xeYR6GIdRXIJkDox/qQSIKFJVovqVvEpPxrDVhVGWJclcd8u793R4Fx0vqhaVeKtgG4uki/RO+qIhd/kAEo2xqV5cdDS5FbWSz0x7DWOa13ALZuD53IPt0fzxJPwXOVC/fjoZ4lRoH0qYFpSaDtzmeL/UZh+jmABek7IsM8KkWihy91rSLgdYbWgN9WTRK/wvgQODFpW2absATcTMpiIn7ApEq2/fobCzaOEBjSCjm+apDa4yHCieCCfR6vQp2rmSJjB1F3tLtEmjWfxfbtFtZoiAICurrOxgzhlG62GU+dWez5GlUJCanbOyffaBdNgB1RVS96R1+cCkKsKLp2voBsqJlh/lzHDXyBE5FaM4Zq49lsq8rW5POLN7u8HTI0mXyqfFS7A+MJ5oHRjjGuwZ7sbxd4HpDyR8T8eVbF+oQecey0R1UYMtJy2o0pzXAnb0scZfcLTDaH+i2UdduFTlwasm8fiNil2aLeQtlKBMPmtBfIg2GcoxMKSL90puUtndqL44u1gfKga3IAvbI0SQXiJvH85Frim/8m6LFABbM5w4Eq0yh3y6fn56RtnJIA/T5v/wq7OyXIW8/hPqOEYGK9a1XNJPtPyZEYJpJGy+v2XmFM9STDrjtnQDrMUqVH6KWDXQ/e60iVYD7TPe4TzQ5pUpZyPnHjuvlCNBQdexI=
- secure: VnQRMbj1M5p50cF7LOb09bB+eDcVDVjrZgQ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