ci: disable GHA cache on Gitea runners
Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
@@ -36,12 +36,15 @@ jobs:
|
||||
with:
|
||||
go-version-file: bridge-proxy/go.mod
|
||||
cache-dependency-path: bridge-proxy/go.mod
|
||||
cache: ${{ github.server_url == 'https://github.com' }}
|
||||
|
||||
- name: Test
|
||||
run: go test ./...
|
||||
|
||||
- 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
|
||||
@@ -75,6 +78,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