Fix tmpDir and defaultContext func

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax
2020-10-21 02:46:41 +02:00
parent 24a0b9628d
commit 71d586a48c
4 changed files with 50 additions and 6 deletions

View File

@ -178,6 +178,13 @@ jobs:
-
name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}
-
name: Check digest
run: |
if [ -z "${{ steps.docker_build.outputs.digest }}" ]; then
echo "::error::Digest should not be empty"
exit 1
fi
-
name: Dump context
if: always()