mirror of
https://github.com/prometheus-community/postgres_exporter
synced 2025-04-17 20:45:30 +00:00
Update .travis.yml to push tagged versions.
This commit is contained in:
parent
8ec2d3d73c
commit
1e43282aa2
@ -21,6 +21,7 @@ after_success:
|
||||
# Push a tagged build if a tag is found.
|
||||
- if [ ! -z "$TRAVIS_TAG" ]; then
|
||||
docker tag wrouesnel/postgres_exporter:latest wrouesnel/postgres_exporter:$TRAVIS_TAG ;
|
||||
docker push wrouesnel/postgres_exporter:$TRAVIS_TAG ;
|
||||
fi
|
||||
# Push a latest version
|
||||
- if [ "$TRAVIS_BRANCH" == "master" ]; then docker push wrouesnel/postgres_exporter ; fi
|
||||
|
Loading…
Reference in New Issue
Block a user