ci: disable GHA cache on Gitea runners
Build Bridge Proxy / build-and-push (pull_request) Successful in 7m46s
Build and Publish Docker Image / build-and-push (pull_request) Successful in 16m5s

Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
2026-08-26 15:16:21 +08:00
co-authored by multica-agent
parent 740267897d
commit 383617284e
2 changed files with 9 additions and 4 deletions
+5 -2
View File
@@ -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