mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-16 04:02:52 -06:00
Produce a docker image when there's a new tag
This commit is contained in:
parent
5afb98ffa7
commit
4fc0fd9a9a
12
.travis.yml
12
.travis.yml
@ -1,3 +1,11 @@
|
|||||||
|
sudo: required
|
||||||
|
|
||||||
|
services:
|
||||||
|
- docker
|
||||||
|
|
||||||
|
env:
|
||||||
|
- DOCKER_TAG=$TRAVIS_TAG
|
||||||
|
|
||||||
language: python
|
language: python
|
||||||
python:
|
python:
|
||||||
- "2.7"
|
- "2.7"
|
||||||
@ -6,3 +14,7 @@ install:
|
|||||||
- pip install pep8
|
- pip install pep8
|
||||||
script:
|
script:
|
||||||
- ./scripts/cibuild.sh
|
- ./scripts/cibuild.sh
|
||||||
|
after_success:
|
||||||
|
- if [ ! -z "$TRAVIS_TAG" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
|
||||||
|
./scripts/docker-build.sh;
|
||||||
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user