ci: disable GHA cache on Gitea runners
Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
@@ -24,6 +24,8 @@ jobs:
|
||||
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v3
|
||||
with:
|
||||
cache-image: ${{ github.server_url == 'https://github.com' }}
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
@@ -58,6 +60,6 @@ jobs:
|
||||
push: ${{ github.event_name != 'pull_request' }}
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
cache-from: type=gha
|
||||
cache-to: type=gha,mode=max
|
||||
cache-from: ${{ github.server_url == 'https://github.com' && 'type=gha' || '' }}
|
||||
cache-to: ${{ github.server_url == 'https://github.com' && 'type=gha,mode=max' || '' }}
|
||||
platforms: linux/amd64,linux/arm64
|
||||
|
||||
Reference in New Issue
Block a user