Skip to content

Commit de2be06

Browse files
authored
ci: ignora erros de exportação do cache do GitHub Actions (#122)
Adiciona ignore-error=true em todos os cache-to para evitar que indisponibilidade temporária do serviço de cache do GHA quebre o build.
2 parents 6c2502b + 6c658c4 commit de2be06

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/build_apache_tika.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
platforms: ${{ matrix.platform }}
6868
load: ${{ matrix.platform == 'linux/amd64' }}
6969
cache-from: type=gha,scope=tika-test-${{ matrix.arch }}
70-
cache-to: type=gha,mode=min,scope=tika-test-${{ matrix.arch }}
70+
cache-to: type=gha,mode=min,scope=tika-test-${{ matrix.arch }},ignore-error=true
7171
build-args: |
7272
TIKA_VERSION=${{ inputs.tika_version || '3.2.2' }}
7373
tags: |
@@ -165,7 +165,7 @@ jobs:
165165
platforms: ${{ matrix.platform }}
166166
push: true
167167
cache-from: type=gha,scope=tika-main-${{ matrix.arch }}
168-
cache-to: type=gha,mode=max,scope=tika-main-${{ matrix.arch }}
168+
cache-to: type=gha,mode=max,scope=tika-main-${{ matrix.arch }},ignore-error=true
169169
build-args: |
170170
TIKA_VERSION=${{ inputs.tika_version || '3.2.2' }}
171171
BUILD_DATE=${{ steps.meta.outputs.build_date }}
@@ -182,7 +182,7 @@ jobs:
182182
platforms: ${{ matrix.platform }}
183183
push: true
184184
cache-from: type=gha,scope=tika-tag-${{ matrix.arch }}
185-
cache-to: type=gha,mode=max,scope=tika-tag-${{ matrix.arch }}
185+
cache-to: type=gha,mode=max,scope=tika-tag-${{ matrix.arch }},ignore-error=true
186186
build-args: |
187187
TIKA_VERSION=${{ inputs.tika_version || '3.2.2' }}
188188
BUILD_DATE=${{ steps.meta.outputs.build_date }}

.github/workflows/build_base_image.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ jobs:
7575
platforms: ${{ matrix.platform }}
7676
push: true
7777
cache-from: type=gha,scope=base-${{ matrix.arch }}
78-
cache-to: type=gha,mode=max,scope=base-${{ matrix.arch }}
78+
cache-to: type=gha,mode=max,scope=base-${{ matrix.arch }},ignore-error=true
7979
build-args: |
8080
BUILD_DATE=${{ steps.meta.outputs.build_date }}
8181
VCS_REF=${{ steps.meta.outputs.vcs_ref }}

.github/workflows/build_container_image.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ jobs:
9595
platforms: ${{ matrix.platform }}
9696
push: true
9797
cache-from: type=gha,scope=app-${{ matrix.arch }}
98-
cache-to: type=gha,mode=max,scope=app-${{ matrix.arch }}
98+
cache-to: type=gha,mode=max,scope=app-${{ matrix.arch }},ignore-error=true
9999
build-args: |
100100
BUILD_DATE=${{ steps.meta.outputs.build_date }}
101101
VCS_REF=${{ steps.meta.outputs.vcs_ref }}

0 commit comments

Comments
 (0)