fix ci docker hub
This commit is contained in:
parent
8a36dea31c
commit
5264cfe4c0
@ -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}"
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user