-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
17 lines (17 loc) · 1.87 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
dist: bionic
jobs:
include:
- stage: build docker image
script:
- export IMAGE="$DOCKER_USERNAME/umu-bingo"
- export COMMIT="${TRAVIS_COMMIT::7}"
- export TAG=`if [ "${TRAVIS_BRANCH}" == "master" ]; then echo "latest"; else
echo "${TRAVIS_BRANCH}" ; fi`
- echo "${DOCKER_PASSWORD}" | docker login -u "${DOCKER_USERNAME}" --password-stdin
- docker build -t "${IMAGE}:${COMMIT}" .
- docker tag "${IMAGE}:${COMMIT}" "${IMAGE}:${TAG}"
- docker push "${IMAGE}:$TAG"
env:
global:
- secure: NAhcM80x0qtne8q+2wm8pQZZW9zPJVvrSeEdUWsBrQAZWRzMJM6heSfaXcDANvjfPjhRrw9tzpcyJT7hBOjgEi3DnBdd90yzyMyEXt+oOLNrmLFr7NteNhImpqkJRO1ZqLekICad8P2bsvAM6UVZUZBfDDHfULExoyglBCyc8DvjPgODcAqGcN+AzQKg7QaDfD5jUXzSUsQ8IT8ACadrVquML/CcrtmvCYeiXrCJ8O77hFZRLnYJ6k8w9/1k0hb30Y+ypJJzUEqLxkaQkV2kxB03sAmdx4pjlUMbtDrFKyGAQ4A2Hr6KMlKDBTyfhxJ0GWej2r+VjRVVHT3N+w2oBkZpEuFSspP6gF1FPayapk5ZwK3gOpCYpJk1rmeOCDI1th+c5S2vCEZRKleFWM8khbwyPnEpb8xylCz9sGSkjGL0XGr2z5McPye6OZ64a9l6Shke6VlGoTbXfsUXy1QENaKfF+piORxQdCTu8OWgQ4KYIFCtlurhG5cILNKZMhqwhejWwqj4ivKIQQtwjSYP96LaEvSkHHaBTo/90eDIdL7KJYDLBJEzbfOaGMN6SeXtwt4CuY9nmF/NUme337L6XvdvdAbDm7irwLAeUoBSPm6lIULebBWtMaeY9kmyTX01dT98+SaMcuycyqjSZxh6reNaTKWZy9qHb9KJytc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