update
This commit is contained in:
13
kubespray/test-infra/vagrant-docker/build.sh
Executable file
13
kubespray/test-infra/vagrant-docker/build.sh
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
set -euo pipefail
|
||||
|
||||
if [ "$#" -ne 1 ]; then
|
||||
echo "Usage: $0 tag" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
VERSION="$1"
|
||||
IMG="quay.io/kubespray/vagrant:${VERSION}"
|
||||
|
||||
docker build . --build-arg "KUBESPRAY_VERSION=${VERSION}" --tag "$IMG"
|
||||
docker push "$IMG"
|
||||
Reference in New Issue
Block a user