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.
This commit is contained in:
vvzvlad
2026-06-17 00:37:06 +03:00
parent f03b7e519e
commit a336941f1c
2 changed files with 2 additions and 2 deletions

View File

@@ -41,4 +41,4 @@ jobs:
push: true push: true
tags: ${{ env.IMAGE }}:develop tags: ${{ env.IMAGE }}:develop
cache-from: type=gha,scope=develop-amd64 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

View File

@@ -52,7 +52,7 @@ jobs:
platforms: ${{ matrix.platform }} platforms: ${{ matrix.platform }}
outputs: type=image,name=${{ env.IMAGE }},push-by-digest=true,name-canonical=true,push=true outputs: type=image,name=${{ env.IMAGE }},push-by-digest=true,name-canonical=true,push=true
cache-from: type=gha,scope=${{ matrix.suffix }} 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 - name: Export digest
run: | run: |