build: perform validation on all base images for PRs (#1610)

This commit is contained in:
Geoff Bourne
2022-07-20 20:24:05 -05:00
committed by GitHub
parent a0a046f9f6
commit eb22d4cadc
22 changed files with 110 additions and 108 deletions

View File

@@ -1,8 +1,11 @@
#!/bin/bash
. ${SCRIPTS:-/}start-utils
# shellcheck source=start-utils
. "${SCRIPTS:-/}start-utils"
set -o pipefail
isDebugging && set -x
handleDebugMode
: "${PAPER_CUSTOM_JAR:=}"
ourScript="$0"
ourArgs=("$@")
@@ -28,7 +31,9 @@ function handleMissingVersion() {
exit 1
}
if [[ $PAPER_DOWNLOAD_URL ]]; then
if [[ $PAPER_CUSTOM_JAR ]]; then
export SERVER="$PAPER_CUSTOM_JAR"
elif [[ $PAPER_DOWNLOAD_URL ]]; then
export SERVER=$(getFilenameFromUrl "${PAPER_DOWNLOAD_URL}")
if [ -f "$SERVER" ]; then