forked from criteo/marathon_exporter
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
30 lines (29 loc) · 3.25 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
29
30
sudo: required
services:
- docker
language: go
go:
- 1.7
script:
- make release
deploy:
provider: releases
skip_cleanup: true
api_key:
secure: oJ5oD3x3lSvcQvt0CO7XpFIN2I1OimP6pyT7cJxsffqLvxdz1u6tF12Uq737c1FRvtbmZpkYwrkg+90eGA4Qym4nVLynyt1zCR6aP5O0yJ8fMaJRYyNFsGfSX2YSSlIQmrnj+L8XNpjvkuOg7yqc3s/RYT5Vngt2QyiZPqFjK2+FweQh6IdEB11UTtYjhz+hWPu3NoMiNGJ91K7p4i0HWkySFsI5nmOZZNYjeBbPu3gpnerZ1K7ybtchDh05uFjen7O3ww5ZK+4/LD1rOK+SX1kO5OCnkyh/ZFRO3q07krhK64Z8yVOWsi71fOw+8/hSA0eAu9WZ3/AA14zMUNuNVHoGBR4hEEDboBKtvG0fjtaODdGSw5AW3aHWcLxq/11MmbjZFt/yN1M4A3fP3pIPcjoz2GdSh3hhWe7GIumEc1kHlCD2w2I310x489O2vdnwbvRSWM7/vKVOqRPehyaNtB4rlg8mJb35d2taVjcJk+3UjZ9LWKt8v3jsYNZS2Z1tu+E/tOIA4JY5V0b3l5K512MbHJ+CPewM4+XJYevo8gYM6m8RSLqFke6vqvClb/ajF+FdV9pwKGwU6PH8lZrMMIvwgb+fCWAwFQqgONYgm+mt6uyj7ai7nWNiyoLru25CRmv1SFrQkktT93AWJpuDaMm20SHUMtkZaUnM3nRuN14=
file: bin/marathon_exporter
on:
repo: gettyimages/marathon_exporter
tags: true
after_deploy:
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
- export REPO=gettyimages/marathon_exporter
- docker build -f Dockerfile -t $REPO:$TRAVIS_TAG .
- docker push $REPO:$TRAVIS_TAG
- docker tag $REPO:$TRAVIS_TAG $REPO:latest
- docker push $REPO:latest
env:
global:
- secure: LsEsjlRNGVYaXIzbQfxLg+j6ItgaE5sQV8AKTPcK1zbcXdAuznRi+EfVknyZCCVz6NIRGsyT5BullKZHHKltIdcgEquSIAXM3tov+r3a6mjjYDHocP/EKSRzdTPlUCs4v/en8G11polWEeQ12Fg0dYH7KEx0/JycszTVrCt8sYmiSPFtZpEllJDmDHZbavXNyP5hFjlH6h8szhxPLd2xyGDJivcRXWgGx0qewIGwsJ13jrMRq8fI453N99PRP9iO4tyztE/XO6AYqu3CvUBGJp3MyizQXL7ljUTcfcPJNWm8KcOxOrypB6tDFha6lfQomIhKNUGe0ytwpFwPVWblXlQIa/IlxPvAqolslYQAnC68ir+3FpZBvKaZPOKACumUF3RzrMM0EtZCvooDitjs1KnzQeZWS4FQqTz4FzsjvPGncBoqK+MC2A0L2NuuYHeWmTcsvLdEqC8McnS/2kdGEDed+0ZFzIN9oEQvOx1IoO83AeltnumMYW8JSacGAiCYRs5rYoqjxaExPd2jYEh1mpoh2zseKnNyJCgcTU+7/wykQaahcFR1CDimToZ/lfDt6ih2kyndj189ZYPLt+gokbU8JJ8NERse3xH2DMeBplO8zkGT1oO9uPg2OQk2M0xw9RFRB3fFdYqwSlDCOxl7jjMDgKGodjT/WX78aqXmLCw=
- secure: A5y+5o+gzatjN2ugpQDoTw0jz26pwmpOsN1TDH12iGBywFhvo7bS+1S2+xE8KFBjG8oIo7D3mKMWWR4PiK0U39I3EFJ7MEp5YhLysFZ9lurBffi15bfIHzDV+iregaQv+kItfr2s2rvO6CakpB+QeGWpe/T9+Fu/8oPBaMmZDyju4XRcEkCwsqzgX7ELc7HjxxkP+X95BpdOlk17PNkGUS8Y5cvALHb4LzR0MmS0vK5XmgdY8JBOIaNMjaH+T0HC0pqP3JmnFCgxNWOO4lHW54e9IpTaBUG/dAan/FS1Sh4bGBjC1wyLBlJhR78oPxgQlhhEeCXm0DN34u6qUpXDia7LqBRG+bfzU3UdKg4s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