mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2024-12-15 17:50:49 +00:00
86659fb100
As we're trying to push the images directly from the phase job and not use 'images:' targets in cloudbuild.yaml.
13 lines
293 B
Bash
Executable file
13 lines
293 B
Bash
Executable file
#!/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
|