push deb to artifacts

This commit is contained in:
John
2022-02-19 10:46:54 +01:00
parent e013a998f8
commit 4139d7b3bf
3 changed files with 32 additions and 7 deletions
+7 -5
View File
@@ -12,10 +12,9 @@ if [[ -n "$LIMITARCH" ]]; then
fi
if [[ -z "$1" ]] || [[ "x$1" == "xrelease" ]]; then
UPLOAD_URL=
elif [[ -z "$UPLOAD_URL" ]]; then
UPLOAD_URL="http://$1/ebusdreleaseupload.php"
else
UPLOAD_CREDENTIALS=${UPLOAD_CREDENTIALS:-'anonymous:build'}
fi
UPLOAD_CREDENTIALS=${UPLOAD_CREDENTIALS:-'anonymous:build'}
version=`cat ../../VERSION`
source='../..'
images='bullseye'
@@ -35,9 +34,12 @@ elif [[ "x$1" = "xrelease" ]]; then
extratag="-t $tagprefix:latest"
else
namesuffix='.build'
target=build
target=deb
images='bullseye buster stretch'
outputFmt=
if [[ -n "$LIMITIMG" ]]; then
images=$(echo " $images " | sed -e "s#.* \($LIMITIMG\) .*#\1#")
fi
outputFmt='-o out/%IMAGE%'
tagsuffix=":v$version-prep"
fi