mirror of
https://github.com/kubernetes-sigs/prometheus-adapter.git
synced 2026-04-06 01:38:10 +00:00
deploy: improve container push rules
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>
This commit is contained in:
parent
70418fdbf8
commit
046b970edb
3 changed files with 50 additions and 46 deletions
|
|
@ -3,7 +3,7 @@ set -x
|
|||
docker login -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD"
|
||||
|
||||
if [[ -n $TRAVIS_TAG ]]; then
|
||||
make push TAG="$(cat "VERSION")"
|
||||
make push
|
||||
else
|
||||
make push-amd64
|
||||
TAG=latest make push
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue