forked from iamseth/oracledb_exporter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
25 lines (24 loc) · 1.32 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
go:
- "1.14"
services:
- docker
install: true
script: make travis -e VERSION=$TRAVIS_BRANCH
deploy:
skip_cleanup: true
provider: releases
api_key:
secure: iUScy9FBiiU2e2NdCotlP/HozuF1WpeYKUQoxbUB1lfZe25HO4VpUbgEwWzTwxuYI19+iOEnt4LgX2icatYgjuDsMHgNsqtsXtuzB2iVpVzbZ71RBRsgw48ve8KdImUS4KDaGNEu0ILgVdmyAcvD1q7ZKKepo1P29CmJoPi9GIztFgKeHpRGGtdCy7NwRLkuiWrvMU4CZoHqGD8a4EgfgI1aNohFf+hebFFOovv8f4wvHbxkEcITLP8+bM6vfp8pI+u9VASQpAMVDtUFLeBBbw+MjOQdgYW3N9+GoUAUg9UTg7iL38qhbamPyTSHDdAVZINCSnQOv9dVrCiTgaeXKPxND2AGRdSBsTrsxSbTRFlfDjTFZLPR403DbTf8P1C+m4iP1zUOu97ffTmEePC+2DjEGlrUUJj+gQR+4cyAbo+qOkZMXtPzpGxycsKX628JxOsGdxZ5qT27T9gEUnO4/nXkrU+PWzkNWpZ6nQASessDtRhFMMMlBkA7/t7Gd0xLSc93XlqkjFgQO5lYQS8pMoP8ZR/dkHKeoejghaZx8/yWslZ/Z4UVgqndp0GLj4yZl8XQYyfBlD+jGVgFw6JH+t6JxU/hlNjTdN/dbvHFntTfltaZLO4evrznOw3xCD6Z+OauEj4gNZhmkHGDg0PVU8Mo4JIzD4XZZshqXylleMg=
file_glob: true
file: "./dist/oracledb_exporter.*.tar.gz"
on:
repo: iamseth/oracledb_exporter
tags: true
after_success:
docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD" &&
docker push iamseth/oracledb_exporter:${TRAVIS_TAG:-latest} &&
docker push iamseth/oracledb_exporter:latest &&
docker push iamseth/oracledb_exporter:${TRAVIS_TAG:-latest}-alpine &&
docker push iamseth/oracledb_exporter:alpine