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
|
||||
}
|
||||
|
||||
echo "[testBuild][INFO]build"
|
||||
echo "[testBuild][INFO] build"
|
||||
|
||||
if "$BUILD_LGSM"; then
|
||||
process "lgsm_debian" "lgsm/"
|
||||
@ -38,4 +38,6 @@ docker rmi "$repository:latest${SUFFIX}" || true
|
||||
docker tag "$repository:gmod_ttt_debian${SUFFIX}" "$repository:latest${SUFFIX}"
|
||||
if "$PUSH"; then
|
||||
docker push "$repository:lgsm_debian${SUFFIX}"
|
||||
fi
|
||||
fi
|
||||
|
||||
echo "[testBuild][INFO] build done!"
|
||||
|
Loading…
Reference in New Issue
Block a user