Code Review
/
it
/
test.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
dcf54456b91766ac2da9627403594c12b7f0486f
[it/test.git]
/
XTesting
/
kubespray
/
test-infra
/
vagrant-docker
/
build.sh
1
#!/bin/sh
2
set -euo pipefail
3
4
if [ "$#" -ne 1 ]; then
5
echo "Usage: $0 tag" >&2
6
exit 1
7
fi
8
9
VERSION="$1"
10
IMG="quay.io/kubespray/vagrant:${VERSION}"
11
12
docker build . --build-arg "KUBESPRAY_VERSION=${VERSION}" --tag "$IMG"
13
docker push "$IMG"