mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-14 14:45:49 +01:00
ci: add registry caching for faster Docker builds
Adds registry-based cache alongside GHA cache to improve build times when GHA cache is evicted (7-day retention limit). Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
9742aec9af
commit
cf42f57592
1 changed files with 6 additions and 2 deletions
8
.github/workflows/build-cross-image.yml
vendored
8
.github/workflows/build-cross-image.yml
vendored
|
|
@ -94,8 +94,12 @@ jobs:
|
|||
build-args: |
|
||||
ZIG_VERSION=${{ steps.vars.outputs.zig_version }}
|
||||
MACOS_SDK_VERSION=${{ steps.vars.outputs.sdk_version }}
|
||||
cache-from: type=gha
|
||||
cache-to: type=gha,mode=max
|
||||
cache-from: |
|
||||
type=gha
|
||||
type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:buildcache
|
||||
cache-to: |
|
||||
type=gha,mode=max
|
||||
type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:buildcache,mode=max
|
||||
|
||||
# Test cross-compilation using wails3 task system (3 parallel jobs)
|
||||
# Runs on Linux/amd64 runner - tests actual cross-compilation only:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue