Delete .travis.yml
This commit is contained in:
parent
dca91b770a
commit
d507ed2e4a
1 changed files with 0 additions and 28 deletions
28
.travis.yml
28
.travis.yml
|
@ -1,28 +0,0 @@
|
||||||
os: linux
|
|
||||||
|
|
||||||
language: shell
|
|
||||||
|
|
||||||
branches:
|
|
||||||
only:
|
|
||||||
- master
|
|
||||||
|
|
||||||
services:
|
|
||||||
- docker
|
|
||||||
|
|
||||||
env:
|
|
||||||
global:
|
|
||||||
- DOCKERHUB="gilbn/geoip2influx"
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
include:
|
|
||||||
- stage: BuildImage
|
|
||||||
if: (NOT (type IN (pull_request)))
|
|
||||||
script:
|
|
||||||
# Build image
|
|
||||||
- docker build --no-cache -t ${DOCKERHUB}:${TRAVIS_COMMIT} .
|
|
||||||
- docker tag ${DOCKERHUB}:${TRAVIS_COMMIT} ${DOCKERHUB}:latest
|
|
||||||
# Login to DockerHub
|
|
||||||
- echo $DOCKERPASS | docker login -u $DOCKERUSER --password-stdin
|
|
||||||
# Push all of the tags
|
|
||||||
- docker push ${DOCKERHUB}:${TRAVIS_COMMIT}
|
|
||||||
- docker push ${DOCKERHUB}:latest
|
|
Loading…
Reference in a new issue