Skip to content

Commit 96d7ada

Browse files
MON-2673 short-term fix for GH Actions Docker build failures caused by Overflow of GH built-in Azure-based cache (#389)
1 parent ac14e4a commit 96d7ada

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/e2e-tests.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@ jobs:
3939
- name: Set up Docker Buildx
4040
uses: docker/setup-buildx-action@v2
4141
- name: Build and push
42-
uses: docker/build-push-action@v4
42+
uses: docker/build-push-action@v6
4343
with:
4444
context: .
4545
cache-from: type=gha
46-
cache-to: type=gha,mode=max
46+
cache-to: type=gha,mode=min,ignore-error=true
4747
tags: ${{ secrets.MON_IMAGE_NAME }}:${{ github.sha }}
4848
build-args: |
4949
DEEPCHECKS_CI_TOKEN=${{ secrets.DEEPCHECKS_CI_TOKEN }}
@@ -85,11 +85,11 @@ jobs:
8585
# Sadly, buildx does not support loading images from file to reuse the image from the previous step
8686
# https://github.com/docker/buildx/issues/847
8787
- name: Build and push - private
88-
uses: docker/build-push-action@v4
88+
uses: docker/build-push-action@v6
8989
with:
9090
context: .
9191
cache-from: type=gha
92-
cache-to: type=gha,mode=max
92+
cache-to: type=gha,mode=min,ignore-error=true
9393
platforms: linux/amd64,linux/arm64/v8
9494
push: true
9595
tags: |
@@ -99,11 +99,11 @@ jobs:
9999
DEEPCHECKS_CI_TOKEN=${{ secrets.DEEPCHECKS_CI_TOKEN }}
100100
MIXPANEL_ID=${{ secrets.MIXPANEL_ID }}
101101
- name: Build and push - public
102-
uses: docker/build-push-action@v4
102+
uses: docker/build-push-action@v6
103103
with:
104104
context: .
105105
cache-from: type=gha
106-
cache-to: type=gha,mode=max
106+
cache-to: type=gha,mode=min,ignore-error=true
107107
platforms: linux/amd64,linux/arm64/v8
108108
push: true
109109
tags: |

0 commit comments

Comments
 (0)