fix ci docker hub

This commit is contained in:
Lucas Briese 2021-11-08 18:50:15 +01:00
parent 8a36dea31c
commit 5264cfe4c0
2 changed files with 2 additions and 4 deletions

View File

@ -1,7 +1,6 @@
#!/bin/sh
set -o errexit
#set -o pipefail
set -o nounset
imageSuffix=""
@ -9,10 +8,9 @@ if [ "$SOURCE_BRANCH" != "master" ]; then
imageSuffix="-$(echo "$SOURCE_BRANCH" | sed 's/\//-/g')"
fi
#docker build -t "$DOCKER_REPO:lgsm_debian${imageSuffix}" "lgsm/"
cd ..
bash test/testBuild.sh "$imageSuffix" true
bash test/testBuild.sh "$imageSuffix"
docker push "$DOCKER_REPO:gmod_debian${imageSuffix}"
docker push "$DOCKER_REPO:gmod_ttt_debian${imageSuffix}"

View File

@ -2,7 +2,7 @@
readonly SUFFIX="$1"
readonly BUILD_LGSM="$(grep -qF '--skip-lgsm' <<< "$@" && echo false || echo true)"
readonly repository="index.docker.io/jusito/docker-ttt"
readonly repository="${DOCKER_REPO:-jusito/docker-ttt}"
if [ "${DEBUGGING}" = "true" ]; then
set -o xtrace