From 7e2a9f26c49944c9c0c80dba8f140bc14567a5d4 Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Thu, 17 Sep 2020 19:43:22 +0200 Subject: [PATCH] Add debug steps --- .github/workflows/build.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d190fc7..9468bb0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -46,6 +46,8 @@ jobs: - name: Set up Docker Buildx uses: docker/setup-buildx-action@v1 + with: + buildkitd-flags: "--debug" - name: Login to DockerHub if: github.event_name != 'pull_request' @@ -68,6 +70,11 @@ jobs: VCS_REF=${{ steps.prep.outputs.vcs_ref }} - name: Check manifest - if: success() && github.event_name != 'pull_request' && (endsWith(github.ref, github.event.repository.default_branch) || startsWith(github.ref, 'refs/tags/')) + if: github.event_name != 'pull_request' && (endsWith(github.ref, github.event.repository.default_branch) || startsWith(github.ref, 'refs/tags/')) run: | docker buildx imagetools inspect ${{ steps.prep.outputs.docker_image }}:${{ steps.prep.outputs.version }} + - + name: Check pull + if: github.event_name != 'pull_request' && (endsWith(github.ref, github.event.repository.default_branch) || startsWith(github.ref, 'refs/tags/')) + run: | + docker pull ${{ steps.prep.outputs.docker_image }}:${{ steps.prep.outputs.version }}