multi platform build by default
This commit is contained in:
@@ -23,7 +23,6 @@ jobs:
|
||||
uses: traberph/ci/.gitea/workflows/image.yaml@main
|
||||
with:
|
||||
images: '[{"image": "registry.traberph.de/private/cv"}]'
|
||||
platforms: linux/amd64,linux/arm64
|
||||
push: ${{ github.event_name != 'pull_request' }}
|
||||
secrets:
|
||||
registry-username: ${{ secrets.REGISTRY_USERNAME }}
|
||||
@@ -34,7 +33,7 @@ Inputs:
|
||||
|
||||
- `images` (required): JSON array of `{"image", "context", "dockerfile"}`; `context` defaults to `.`, `dockerfile` to `<context>/Dockerfile`.
|
||||
- `registry`: registry to log in to (default `registry.traberph.de`).
|
||||
- `platforms`: default `linux/amd64`. QEMU is set up when an `arm` platform is listed.
|
||||
- `platforms`: default `linux/amd64,linux/arm64`. QEMU is set up when an `arm` platform is listed.
|
||||
- `build-args`: newline-separated `KEY=value`, passed to every image.
|
||||
- `push`: default `true`.
|
||||
- `cache`: keep the layer cache in the registry as `<image>:buildcache` (default `false`).
|
||||
|
||||
Reference in New Issue
Block a user