-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
23 lines (21 loc) · 2.49 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
---
branches:
only:
- master
env:
global:
# DOCKER_EMAIL
- secure: "VBPQ/sPS238vNzx6+koEJdx02z7pYBGZRqgU1icQYscR7BzrgwV6ZISW2/DIUuixejIMEtE7YgthLHwpifqh48NJ4KJklX4QDFWrWxggfSfZzkRLr8DCklIGxiDSqxRRk//OVviQYr1WdudWmBnF3TpGvneiysBw706Pj/DM/slLBaOcfciLzABAGFWajSGkBidJcSdoceMu5/clMn0Nqyej2oW2K2VhOpCSV6i3Pg6xfhv+e22ke3SZTKM1nw37qEsx++nvZcVF+BmePqHzfdJqoqTZuDFguS+fRwfLE6nioxGj8vYNs1QIixGAM+saxHStrDxI/i9WCEJFYdkDgJgcnsmDy9DuTvpBvXrhFGpoMoNHU5SsPUcAJzQINPt2vm1lo7D161ipFjCVJEnGjK0IO6HAveTuZu/QbZ1KiQ2t2vVHVElnTXaQE7HEdq/w8U9LB/k+h4ArfDdItBC5FOFlO7XPfnSnu5XdMalnGnMVMEUOF5KaRKKgPiOJwrjwGSP9rcsrGI/jhugmfEXsf6W3/NYS4gmKd8mCnuZZCSIbKKEvRZ822PVtRIljlxVmaowohjArOm/cMZ6AeaN1zY7Lv3sPxPnT8yL+usXMXlo41amx+ggu7TY1walTqkgiDOOE6Osgu97Zdk7gZyIFZwJ9cFQ8ctTLCX6fCJCMfpE="
# DOCKER_USER
- secure: "X6IKbiJ096W3AuJdNjuSwUQ5M7KJc5YpU+n8cEhLw8Ue0+DDU7a8vItiKgDLQSY7VID23kMa2kZ0Bh08cLds6AhRZzq36gkIdtRTsN3qKEaNxjTd1G0pv5e+McXu1gvigP7xAtb68bJwRUE1vtjDFtUVtAnUw2AaK9YlvTSn0BI78OQoUx8ql3RPeLDtu//HLNns9gR7bFvMBkVnfBcfCFKsIN1ismLHDMS6hTvOs6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4SyHr+9JHgEwFA7ZSovcqnl7kYGo0JB0zYFWu4SP3kE2ry9gClSw2BbFRiSVIFsJFShTa3VtAMQIvGNzBxTY="
- DOCKER_REPO=spreadspace/matomo
script:
### 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