-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
25 lines (23 loc) · 2.59 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
---
branches:
only:
- master
env:
global:
# DOCKER_EMAIL
- secure: "c9DNYwprizT/JWu8hTIbpepZGniAw1RGOcBS5GOriHq5sDGg0lG0pbu/vNTgpIvo4RetJGAKQrWXzPN1xMU4MjKHb7UiskUZVePSETU7NKSo4Xz3FWkFGvOGi43lng3MEgxAGRcrHQT3le/szSKigTzjBGINZp95zhrE94PAb/JpplBT1oh/YtTIqs9x+uZNfN39oiS8XAOWw/k/ZFAgxXwfvaAYXeT1O9eUvOP5FMBWLXgwHmM956LUp094Ef+DErNwN6dzFhqwoegDx5czXLjPrjBLq/iHTyBXcybQyZpzmUYadEE1fh2IeQtgKKHD0deabJ4qktqvZHWH54vnSmZO0VQehev+6D7dRfVgEzuP2ccbQxLnfwwqlT0X3xbH2Y2OIOtCnuf5t5pZRrE7hSRIkBH9R2PFKvd77YO1MZwB0cnhpVj3eWQFcoYf+KZaOKQer9jifKtCMpY+MMOE63k50B6ESPYGBvQcQ/Wyffrdo5sWolwxfGeEsqTp91e6TGQXOo5rq+Xoc4IhEtl9GWtR3yfdDRKZcmiAYyD04wQ8SXhQrRl22dq6x4bvwHwWWZ/TKqwyHsk8xHr8VRj2E9Yc4O6u0sqBFg4DNY31kuDI4iS0NcLJBTRX/qywCeqEb34GbfZPjsp1ljnkMSLso8hqASzZSaJeal/uADCku1c="
# DOCKER_USER
- secure: "KhRI+HvfzWUyJSFfmeG6K+NBtuXGoRg//sv6MixLm9OobaTD50boqNYJmlhg9KSE1BpsRcGVM6vDQS7t+ESlvCDmbkKZIivhGT2XommORO9PBsdkRSGXPvuNRfZ6Cx+axP1OASqQuBdVV9iyyCqdK+ffVurK7LnpxdyWJARZJV4TY/VlfK0YFh7IdjAcEzv9abQoEvh7UZnJaiDZhbnJUNY1JKmXvTDQieg02z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d9bcm9FOCLttLDyHdRWlxCidKjjrAb4X3luiRQHlXjATmQL0cXL8mEs8tuII="
- DOCKER_REPO=spreadspace/icecast
script:
### pull current images to potentially use docker build cache
- docker pull $DOCKER_REPO:latest
### build the new images
- docker build -t $DOCKER_REPO:latest .
- docker tag $DOCKER_REPO:latest $DOCKER_REPO:$TRAVIS_BUILD_NUMBER
### push to docker-hub
- docker login -u $DOCKER_USER -p $DOCKER_PASS
- docker push $DOCKER_REPO:$TRAVIS_BUILD_NUMBER
- docker push $DOCKER_REPO:latest