1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2025-03-16 21:38:23 +00:00
node-feature-discovery/scripts/test-infra/push-image.sh

14 lines
293 B
Bash
Raw Normal View History

#!/bin/bash -e
# Strip 'vYYYYMMDD-' from the variable in order to get a reproducible
# version and container image tag
if [ -n "$_GIT_TAG" ]; then
export VERSION=${_GIT_TAG:10}
fi
# Authenticate in order to be able to push images
gcloud auth configure-docker
make image -e
make push -e