From d616b42031c6c257b8a36ce86a6ef78a3ea7355e Mon Sep 17 00:00:00 2001 From: squidfunk Date: Thu, 3 Nov 2022 15:29:09 +0100 Subject: [PATCH] Fixed Docker image check on publish --- .github/workflows/publish.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index e5471c10e..f644c6b39 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -91,7 +91,9 @@ jobs: ghcr.io/${{ github.event.repository.full_name }}:${{ github.event.release.tag_name }} - name: Check Docker image - run: + working-directory: /tmp + run: | + docker run --rm -i -v ${PWD}:/docs ${{ github.event.repository.full_name }} new . docker run --rm -i -v ${PWD}:/docs ${{ github.event.repository.full_name }} build - name: Publish Docker image