perf(ci): use amd64-only for preflight staging images

Skip arm64 QEMU emulation in preflight tests - staging images are only
used for integration tests which run on amd64. This cuts ~20-30 minutes
off the release pipeline.

Multi-arch Docker images are still built in the final release job via
publish-docker.yml.
This commit is contained in:
rcourtman
2025-12-15 14:27:34 +00:00
parent 1f131b8a14
commit 0fd5cb4643

View File

@@ -175,7 +175,7 @@ jobs:
with:
context: .
target: runtime
platforms: linux/amd64,linux/arm64
platforms: linux/amd64 # amd64-only for faster preflight; multi-arch happens in release job
push: true
provenance: false
cache-from: type=registry,ref=ghcr.io/${{ github.repository_owner }}/pulse:buildcache
@@ -189,7 +189,7 @@ jobs:
context: .
file: ./Dockerfile
target: agent_runtime
platforms: linux/amd64,linux/arm64
platforms: linux/amd64 # amd64-only for faster preflight; multi-arch happens in release job
push: true
provenance: false
cache-from: type=registry,ref=ghcr.io/${{ github.repository_owner }}/pulse-docker-agent:buildcache