Skip to content

Commit 17a1632

Browse files
Amoifrclaude
andcommitted
Add multi-architecture Docker build (amd64 + arm64)
- Add platforms option to build for both Intel/AMD and Apple Silicon/ARM - Bump version to 1.4.0 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 281c642 commit 17a1632

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/docker-publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ jobs:
4949
with:
5050
context: .
5151
file: ./docker/Dockerfile
52+
platforms: linux/amd64,linux/arm64
5253
push: ${{ github.event_name != 'pull_request' }}
5354
tags: ${{ steps.meta.outputs.tags }}
5455
labels: ${{ steps.meta.outputs.labels }}

docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ FROM php:8.3-cli-alpine
3838

3939
LABEL org.opencontainers.image.title="PhpQuality"
4040
LABEL org.opencontainers.image.description="PHP Static Code Analyzer - Metrics & Quality Reports"
41-
LABEL org.opencontainers.image.version="1.3.0"
41+
LABEL org.opencontainers.image.version="1.4.0"
4242
LABEL org.opencontainers.image.vendor="amoifr"
4343
LABEL org.opencontainers.image.source="https://github.com/amoifr/PhpQuality"
4444
LABEL org.opencontainers.image.authors="Pascal CESCON <pascal.cescon@gmail.com>"

0 commit comments

Comments
 (0)