1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2025-03-06 08:47:04 +00:00
node-feature-discovery/scripts/test-infra/push-image.sh

13 lines
372 B
Bash
Raw Normal View History

#!/bin/bash -e
# Override VERSION if _GIT_TAG is specified. Strip 10 first characters
# ('vYYYYMMDD-') from _GIT_TAG in order to get a reproducible version and
# container image tag
VERSION_OVERRIDE=${_GIT_TAG+VERSION=${_GIT_TAG:10}}
# Authenticate in order to be able to push images
gcloud auth configure-docker
# Build and push images
2021-12-10 13:18:31 +01:00
make push-all $VERSION_OVERRIDE