rm build hook

This commit is contained in:
Lucas Briese 2021-11-08 19:21:56 +01:00
parent 77383c4b7d
commit 78cb47c317
2 changed files with 4 additions and 15 deletions

View File

@ -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

View File

@ -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/"
@ -38,4 +38,6 @@ docker rmi "$repository:latest${SUFFIX}" || true
docker tag "$repository:gmod_ttt_debian${SUFFIX}" "$repository:latest${SUFFIX}" 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!"