fix: build multi-arch images for amd64 and arm64
Build and publish container / build (pull_request) Successful in 5m2s
Build and publish container / build (pull_request) Successful in 5m2s
Add QEMU setup and build for linux/amd64 and linux/arm64 (armv8), publishing a single multi-arch manifest. The nginx-unprivileged base image provides both architectures. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -46,7 +46,9 @@ docker run --rm -p 8080:8080 dlr
|
||||
|
||||
`.gitea/workflows/build-and-publish.yml` builds the container with Gitea Actions
|
||||
on every push to `main` and on pull requests. Pull requests build the image but
|
||||
do not push. The registry host is derived from the Gitea server URL.
|
||||
do not push. The registry host is derived from the Gitea server URL. Images are
|
||||
built for `linux/amd64` and `linux/arm64` (armv8) and published as a single
|
||||
multi-arch manifest; the arm64 build runs under QEMU emulation.
|
||||
|
||||
Authentication requires a Personal Access Token with package read/write scope,
|
||||
because the automatically provided `GITEA_TOKEN` does not carry container
|
||||
|
||||
Reference in New Issue
Block a user