mirror of
https://github.com/kubernetes-sigs/prometheus-adapter.git
synced 2026-04-05 17:27:51 +00:00
This tags new images every commit (via Travis) as latest, and every tag gets pushed as a separate tag as well.
9 lines
171 B
Bash
Executable file
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
|