= fix, tests used cache / wrong tag printed

This commit is contained in:
Lucas Briese 2020-07-01 21:48:27 +02:00
parent b42f2afd77
commit 6fe6859a8e
2 changed files with 4 additions and 4 deletions

View File

@ -13,10 +13,10 @@ set -o pipefail
echo "[testBuild][INFO]build"
docker rmi "jusito/docker-ttt:lgsm_debian" || true
docker build -t "jusito/docker-ttt:lgsm_debian" "lgsm/"
docker build --no-cache -t "jusito/docker-ttt:lgsm_debian" "lgsm/"
docker rmi "jusito/docker-ttt:gmod_debian" || true
docker build -t "jusito/docker-ttt:gmod_debian" "gmod/"
docker build --no-cache -t "jusito/docker-ttt:gmod_debian" "gmod/"
docker rmi "jusito/docker-ttt:gmod_ttt_debian" || true
docker build -t "jusito/docker-ttt:gmod_ttt_debian" "TTT/"
docker build --no-cache -t "jusito/docker-ttt:gmod_ttt_debian" "TTT/"

View File

@ -17,7 +17,7 @@ bash test/testBuild.sh
echo "[testRun][INFO]running"
if ! docker run -ti --name "JusitoTesting" --rm -e TEST_MODE=true -e DEBUGGING="$DEBUGGING" -e SERVER_PASSWORD="testpw" -e SERVER_MAX_PLAYERS="10" "jusito/docker-ttt:gmod_ttt_debian"; then
echo "[testRun][ERROR]run test failed for docker-ttt:ubuntu"
echo "[testRun][ERROR]run test failed for docker-ttt:gmod_ttt_debian"
exit 1
fi
docker stop "JusitoTesting" || true