prometheus-adapter/.travis-deploy.sh
Solly Ross d192346039 [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 14:22:09 -05:00

9 lines
171 B
Bash
Executable file

#!/bin/bash
set -x
docker login -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD"
if [[ -n $TRAVIS_TAG ]]; then
make push VERSION=${TRAVIS_TAG}
else
make push-amd64
fi