moved to multi multi stage build

docker ci executing hook with always pull before build. Therefore e.g. first image is created but right after overwritten by previous image.
This commit is contained in:
Lucas Briese
2021-11-08 19:46:28 +01:00
parent 78cb47c317
commit 2d702db907
5 changed files with 122 additions and 79 deletions

13
hooks/pre_push Normal file
View File

@ -0,0 +1,13 @@
#!/bin/sh
set -o errexit
set -o nounset
imageSuffix=""
if [ "$SOURCE_BRANCH" != "master" ]; then
imageSuffix="-$(echo "$SOURCE_BRANCH" | sed 's/\//-/g')"
fi
cd ..
bash test/testBuild.sh "$imageSuffix" --skip-ttt --push