This repository has been archived by the owner on May 22, 2023. It is now read-only.
forked from doitintl/kubeip
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
25 lines (21 loc) · 1.8 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
language: go
sudo: required
services:
- docker
env:
global:
- secure: Uhwe0SJzDINKpulrz4iKSvBchv/4w/PdeP0+BIM+5V0F4M4/v+BYk0cFS3cOiyyNXrnxL4wl0guzhLg1uWt9ZXEd4eXUyFgbeZ52C8pzRgCahIpSc3XFqYaFoxkdMKTUjfbsuUbOcCwlaIzM8QvfXGkw6Y5Gs9rPbb9U12qgthafLYFvyOXn/V5ddFsDvm3PT8Nr8AQWIDtuXwi9vEsyADZiOxVXSZSoThYc4vshGL9nr8kTAlJ5oO0DNTeAmoMgBYysqNr5R/3RZTvGVH3BJIWINLTZxVgkRsbSzeFMjfEKrmLBlYYZRg/tL//yzqNDRyvhD1G3oEiqDQC+bZQ3BNy0ok2L4+ytDfAPk7S31dZ/gcb2RCIeMMN2PuBpmmTZyfY921A9VEcNdq8JIXXLQOr9Axi0EAbLCsBetcoqXj+6tSU1/N3/pv1WT192MoGCvzM3A3he0KBLFTky1ZCwGbGl8QogP61ku1fgp9oU4VjwaT4gDsJxMJ0pgXpPmZy11oUwH5V0xpF+9zQ7L0tIyuYW+064SgPM70vqtUSkUQ6Tvy61AKfJY9nZfKlx3Xr0uUwJEx33yT6BmMPNDcYkT3ENfCtaYAhF/sxQijrz/vdhyK0oiKpSYwowbxMCpCY/Qy8HShoSqqKJsjjtPF/lvKgWGr0b/spC6ei50pqD6Zk=
- secure: RvXxbo3+WYXgVfLHycauP4ePoLzjiG0L/iqEXOOyRvThIBO/2CjAJebPzxStd0T8UKmgQQuY6sPGA+gzTKqRm7X3h8i++BLuVGN/ohmug6SqoAt+b5DlAc571CpnRDdDuPWbiStLZFHfFTpcJn3NPe2h6dA/JAaPeUwdWjiGueR/cEpfuqINQnZh6F0IY6vFN0KU5kOh8LSn+WwukR/EtlDyGINMR6yUHpVF+q137L4aPUKeLpztw+6aOtU5KmyciYNG6SGckj5WZedAu4miPtH/jLD+UaQh3Tr4dGWBPduis94M+bE9seMEBDH83HF7+BUkNgRsQoKY85Gntu4apNQA0G04hN26fodkZCzvgXuISlmhP4DaemeEDImT7tWesL5Wms9GtKGpDfdWqjfHh9Vaq9AuGsloEW7CyT6+FuLBQErJMSu27jWXgSNwZsT9DpEUwZDG7lFm1OZqrLM/SUBGAsmHDswG7H1wlFD5aUd01CqSqKwMoEBj8BCqVRO+WtKHjsIZvCXgudlZySlLS5di15nYDaZYPQ+KB0/CpS0NaTP6k3KF1zmtWT7T2jKdFv9Sfgji4eYvvKubVLjsHmT1RsbFmCoDFhpKDNvYC/XlERzmAJYFyRdvELF8EjWpadJv/rR22PexyGCRoMe/17WGRGXMCEtpZiDTYKYDquc=
- env GO111MODULE=on
go:
- 1.12.1
script:
- export TAG=`if [ $TRAVIS_BRANCH == "master" ]; then echo "latest"; else echo $TRAVIS_BRANCH; fi`
- export REPO=doitintl/kubeip
- docker build -t $REPO:$TAG -f Dockerfile .
after_success:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- echo $TAG
- docker push $REPO:$TAG
notifications:
email: false