From bba0a5d82eba54185586080c9c51f14e051f695b Mon Sep 17 00:00:00 2001 From: Ivan Shumkov Date: Wed, 17 Jul 2024 10:48:47 +0700 Subject: [PATCH 1/3] ci: revert digest directory --- .github/workflows/release-docker-image.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release-docker-image.yml b/.github/workflows/release-docker-image.yml index e157350de7..e60405a17c 100644 --- a/.github/workflows/release-docker-image.yml +++ b/.github/workflows/release-docker-image.yml @@ -19,7 +19,7 @@ on: required: true env: DIGEST_NAME: digests-${{ inputs.image_org }}-${{ inputs.image_name }}-${{ github.sha }} - DIGEST_DIR_PATH: ./digests + DIGEST_DIR_PATH: /tmp/digests jobs: build-image: From a11fae71745febda13c0948d797a82d6e3984527 Mon Sep 17 00:00:00 2001 From: Ivan Shumkov Date: Wed, 17 Jul 2024 10:49:03 +0700 Subject: [PATCH 2/3] ci: increase timeout --- .github/workflows/release-docker-image.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release-docker-image.yml b/.github/workflows/release-docker-image.yml index e60405a17c..18a91977d7 100644 --- a/.github/workflows/release-docker-image.yml +++ b/.github/workflows/release-docker-image.yml @@ -25,7 +25,7 @@ jobs: build-image: name: Build ${{ matrix.platform }} image runs-on: ${{ matrix.runner }} - timeout-minutes: 20 + timeout-minutes: 25 strategy: matrix: include: From 30db4fda8e979f774f6bbde933f170abc407801b Mon Sep 17 00:00:00 2001 From: Ivan Shumkov Date: Wed, 17 Jul 2024 10:49:31 +0700 Subject: [PATCH 3/3] 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:}"