2d702db907
docker ci executing hook with always pull before build. Therefore e.g. first image is created but right after overwritten by previous image.
14 lines
238 B
Bash
14 lines
238 B
Bash
#!/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
|