prometheus-adapter/.travis-deploy.sh
Solly Ross 0823aebc72 [infra] automatically publish new images
This tags new images every commit (via Travis) as latest, and every
tag gets pushed as a separate tag as well.
2018-02-28 13:52:24 -05:00

6 lines
223 B
Bash
Executable file

#!/bin/bash
docker login -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD"
docker push directxman12/k8s-prometheus-provider:latest
if [[ -n $TRAVIS_TAG ]]; then
docker push directxman12/k8s-prometheus-provider:$TRAVIS_TAG
fi