Skip to content

Commit

Permalink
chore: temp cache-to
Browse files Browse the repository at this point in the history
  • Loading branch information
rafasdc committed Jan 21, 2025
1 parent bd9ffcf commit 3c8e8d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ jobs:
SENTRY_AUTH_TOKEN=${{ env.SENTRY_AUTH_TOKEN }}
GIT_HASH=${{ env.GIT_HASH }}
cache-from: type=registry,ref=${{ matrix.image }}:buildcache
# cache-to: type=registry,ref=${{ matrix.image }}:buildcache,mode=max
cache-to: ${{ github.ref == 'refs/heads/main' && 'type=registry,ref=${{ matrix.image }}:buildcache,mode=max' || '' }}
cache-to: type=registry,ref=${{ matrix.image }}:buildcache,mode=max
# cache-to: ${{ github.ref == 'refs/heads/main' && 'type=registry,ref=${{ matrix.image }}:buildcache,mode=max' || '' }}
# Temp fix
# https://github.com/docker/build-push-action/issues/252
# https://github.com/moby/buildkit/issues/1896
Expand Down

0 comments on commit 3c8e8d4

Please sign in to comment.