Build multi-arch release images without emulation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
7c3657d015
commit
0984af25bc
6 files changed
+45
-17
No files matched your search
@@ -59,10 +59,13 @@ jobs:
|
||||
id: sha
|
||||
run: echo "short=$(git rev-parse --short HEAD)" >> "$GITHUB_OUTPUT"
|
||||
|
||||
# amd64 only: these builds exist for the Unraid deploy (x86_64), and a
|
||||
# single platform keeps every push fast. Releases are multi-arch.
|
||||
- name: Build and push (:main and :<sha>)
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: .
|
||||
platforms: linux/amd64
|
||||
push: true
|
||||
build-args: |
|
||||
VERSION=0.0.0-dev+${{ steps.sha.outputs.short }}
|
||||
|
||||
Reference in new issue
Block a user