From 30db4fda8e979f774f6bbde933f170abc407801b Mon Sep 17 00:00:00 2001 From: Ivan Shumkov Date: Wed, 17 Jul 2024 10:49:31 +0700 Subject: [PATCH] ci: make sure digest directory is empty --- .github/workflows/release-docker-image.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release-docker-image.yml b/.github/workflows/release-docker-image.yml index 18a91977d7..a8ed8273ca 100644 --- a/.github/workflows/release-docker-image.yml +++ b/.github/workflows/release-docker-image.yml @@ -64,6 +64,7 @@ jobs: - name: Export digest run: | + rm -rf ${{ env.DIGEST_DIR_PATH }} mkdir -p ${{ env.DIGEST_DIR_PATH }} digest="${{ steps.docker_build.outputs.digest }}" touch "${{ env.DIGEST_DIR_PATH }}/${digest#sha256:}"