You've already forked postgres_exporter
mirror of
https://github.com/prometheus-community/postgres_exporter.git
synced 2025-08-09 15:42:47 +03:00
Update .travis.yml to push tagged versions.
This commit is contained in:
@@ -21,6 +21,7 @@ after_success:
|
|||||||
# Push a tagged build if a tag is found.
|
# Push a tagged build if a tag is found.
|
||||||
- if [ ! -z "$TRAVIS_TAG" ]; then
|
- if [ ! -z "$TRAVIS_TAG" ]; then
|
||||||
docker tag wrouesnel/postgres_exporter:latest wrouesnel/postgres_exporter:$TRAVIS_TAG ;
|
docker tag wrouesnel/postgres_exporter:latest wrouesnel/postgres_exporter:$TRAVIS_TAG ;
|
||||||
|
docker push wrouesnel/postgres_exporter:$TRAVIS_TAG ;
|
||||||
fi
|
fi
|
||||||
# Push a latest version
|
# Push a latest version
|
||||||
- if [ "$TRAVIS_BRANCH" == "master" ]; then docker push wrouesnel/postgres_exporter ; fi
|
- if [ "$TRAVIS_BRANCH" == "master" ]; then docker push wrouesnel/postgres_exporter ; fi
|
||||||
|
Reference in New Issue
Block a user