mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2024-12-14 11:57:51 +00:00
33cfd6eaba
Re-introduce docker authentication that was dropped in
bac690813a
. Should fix issues with
building multi-arch buildx buildx.
12 lines
372 B
Bash
Executable file
12 lines
372 B
Bash
Executable file
#!/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
|
|
make push-all $VERSION_OVERRIDE
|