From 399bed089074f56ff01589571263d41d8fa9ac8f Mon Sep 17 00:00:00 2001 From: Guilherme Sperb Machado Date: Mon, 19 Feb 2024 01:59:39 +0100 Subject: [PATCH] add clean-up step to avoid any previous garbage --- .github/workflows/docker.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index d09a425..b26cf05 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -64,9 +64,13 @@ jobs: context: ./ outputs: type=image,name=${{ env.IMAGE_ID }},push-by-digest=true,name-canonical=true,push=${{ github.event.inputs.publish }} - - name: Export digest - neo-cli-with-plugins + - name: Clean up digests dir - neo-cli-with-plugins run: | + rm -rf /tmp/digests-plugins-image mkdir -p /tmp/digests-plugins-image + + - name: Export digest - neo-cli-with-plugins + run: | digest="${{ steps.build-plugins-image.outputs.digest }}" touch "/tmp/digests-plugins-image/${digest#sha256:}" @@ -92,6 +96,11 @@ jobs: id: loadenv uses: ./.github/actions/load-env + - name: Clean up digests dir - neo-cli-with-plugins + run: | + rm -rf /tmp/digests-plugins-image + mkdir -p /tmp/digests-plugins-image + - name: Download digests - neo-cli-with-plugins uses: actions/download-artifact@v4 with: