rm build hook
This commit is contained in:
parent
77383c4b7d
commit
78cb47c317
@ -1,13 +0,0 @@
|
|||||||
#!/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" --push
|
|
@ -26,7 +26,7 @@ function process() {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
echo "[testBuild][INFO]build"
|
echo "[testBuild][INFO] build"
|
||||||
|
|
||||||
if "$BUILD_LGSM"; then
|
if "$BUILD_LGSM"; then
|
||||||
process "lgsm_debian" "lgsm/"
|
process "lgsm_debian" "lgsm/"
|
||||||
@ -39,3 +39,5 @@ docker tag "$repository:gmod_ttt_debian${SUFFIX}" "$repository:latest${SUFFIX}"
|
|||||||
if "$PUSH"; then
|
if "$PUSH"; then
|
||||||
docker push "$repository:lgsm_debian${SUFFIX}"
|
docker push "$repository:lgsm_debian${SUFFIX}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo "[testBuild][INFO] build done!"
|
||||||
|
Loading…
Reference in New Issue
Block a user