Merge remote-tracking branch 'ungleich/master'
This commit is contained in:
commit
6262432b7a
1 changed files with 14 additions and 0 deletions
14
build-image.sh
Executable file
14
build-image.sh
Executable file
|
@ -0,0 +1,14 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
if [ $# -lt 1 ]; then
|
||||||
|
echo "$0 imageversion [push]"
|
||||||
|
echo "If push is specified, also push to our harbor"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
tagprefix=harbor.k8s.ungleich.ch/ungleich-public/dynamicweb
|
||||||
|
version=$1; shift
|
||||||
|
|
||||||
|
tag=${tagprefix}:${version}
|
||||||
|
|
||||||
|
docker build -t "${tag}" .
|
Loading…
Reference in a new issue