mirror of
https://github.com/dockersrc/rust
synced 2026-07-14 23:45:58 -04:00
🚀 use prebuilt-only Rust tools to cut arm64 build time 🚀
Build and Push / build (push) Has been cancelled
Build and Push / build (push) Has been cancelled
- Switch cargo-binstall to --disable-strategies compile (no source fallback) - Reorganize tools into core (reliable prebuilts) and secondary groups - Add GHA cache for Docker buildx in Gitea workflow - Disable binstall telemetry prompt for non-interactive builds - Silently skip tools without prebuilts instead of hours-long compilation Dockerfile .gitea/workflows/build.yml
This commit is contained in:
@@ -59,6 +59,8 @@ jobs:
|
||||
context: .
|
||||
platforms: linux/amd64,linux/arm64
|
||||
push: true
|
||||
cache-from: type=gha
|
||||
cache-to: type=gha,mode=max
|
||||
tags: |
|
||||
${{ steps.meta.outputs.registry_host }}/${{ github.repository }}:${{ steps.meta.outputs.tag_yymm }}
|
||||
${{ vars.DOCKER_USERNAME != '' && format('{0}/{1}:{2}', vars.DOCKER_ORG || vars.DOCKER_USERNAME, github.event.repository.name, steps.meta.outputs.tag_yymm) || '' }}
|
||||
|
||||
Reference in New Issue
Block a user