diff --git a/.github/workflows/containers.yml b/.github/workflows/containers.yml index e0bc962..f1b37d6 100644 --- a/.github/workflows/containers.yml +++ b/.github/workflows/containers.yml @@ -470,10 +470,10 @@ jobs: - name: Generate build args id: build_args run: | - echo 'args<> $GITHUB_OUTPUT + EOF" >> $GITHUB_OUTPUT - name: Build id: build diff --git a/setup.sh b/setup.sh index f30022e..4945bb9 100644 --- a/setup.sh +++ b/setup.sh @@ -16,6 +16,11 @@ gpg --with-fingerprint --verify sha256sums.asc sha256sums # determine archive name file_name="$(grep "$DOWNLOAD_FILE" sha256sums | cut -d "*" -f 2)" +if [ -z "$file_name" ]; then + echo "No file matching '$DOWNLOAD_FILE' found in sha256sums" >&2 + exit 1 +fi + # download imagebuilder/sdk archive wget -nv "$FILE_HOST/$DOWNLOAD_PATH/$file_name"