diff --git a/.gitea/workflows/image.yaml b/.gitea/workflows/image.yaml index 0a86c17..929de73 100644 --- a/.gitea/workflows/image.yaml +++ b/.gitea/workflows/image.yaml @@ -38,7 +38,7 @@ on: default: registry.traberph.de platforms: type: string - default: linux/amd64 + default: linux/amd64,linux/arm64 build-args: description: Newline-separated KEY=value pairs, passed to every image. type: string diff --git a/README.md b/README.md index e9bd99b..2d1a32b 100644 --- a/README.md +++ b/README.md @@ -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 `/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 `:buildcache` (default `false`).