From a336941f1cb23091475e65094765b617613949c9 Mon Sep 17 00:00:00 2001 From: vvzvlad Date: Wed, 17 Jun 2026 00:37:06 +0300 Subject: [PATCH] ci(workflows): ignore cache errors in develop and release builds Add `ignore-error=true` to the `cache-to` settings in both develop and release GitHub Actions workflows to prevent build failures when cache upload encounters errors. --- .github/workflows/develop.yml | 2 +- .github/workflows/release.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/develop.yml b/.github/workflows/develop.yml index 9672f362..231b9952 100644 --- a/.github/workflows/develop.yml +++ b/.github/workflows/develop.yml @@ -41,4 +41,4 @@ jobs: push: true tags: ${{ env.IMAGE }}:develop cache-from: type=gha,scope=develop-amd64 - cache-to: type=gha,scope=develop-amd64,mode=max + cache-to: type=gha,scope=develop-amd64,mode=max,ignore-error=true diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ae6699a5..a4e6d154 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -52,7 +52,7 @@ jobs: platforms: ${{ matrix.platform }} outputs: type=image,name=${{ env.IMAGE }},push-by-digest=true,name-canonical=true,push=true cache-from: type=gha,scope=${{ matrix.suffix }} - cache-to: type=gha,scope=${{ matrix.suffix }},mode=max + cache-to: type=gha,scope=${{ matrix.suffix }},mode=max,ignore-error=true - name: Export digest run: |