mirror of
https://github.com/kubernetes-sigs/prometheus-adapter.git
synced 2026-04-05 17:27:51 +00:00
Improve and cleanup container push rules to prepare for the move to the official gcr.k8s.io registry. As part of the improvements, I replaced the non cross platform busybox image by gcr.io/distroless/static:latest which is platform agnostic. Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com>
9 lines
154 B
Bash
Executable file
9 lines
154 B
Bash
Executable file
#!/bin/bash
|
|
set -x
|
|
docker login -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD"
|
|
|
|
if [[ -n $TRAVIS_TAG ]]; then
|
|
make push
|
|
else
|
|
TAG=latest make push
|
|
fi
|