Merge pull request #26 from Icinga/bugfix/unrecognized-if-no-files-found-input

Allow artifact upload to fail
This commit is contained in:
Noah Hilverling 2020-08-13 13:57:17 +02:00 committed by GitHub
commit b26c2e30f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,7 +27,11 @@ mkimg () {
STATE_isPost=1 node /actions/checkout/dist/index.js
docker save "${TARGET}:$TAG" |gzip >docker-save.tgz
set +e
INPUT_NAME=docker-image INPUT_PATH=docker-save.tgz node /actions/upload-artifact/dist/index.js
set -e
rm docker-save.tgz
}