mirror of
https://github.com/chialab/docker-php.git
synced 2026-08-24 02:24:16 -05:00
Merge pull request #106 from chialab/test/pcov-arm64
feat: build pcov image for arm64 architecture
This commit is contained in:
@@ -31,10 +31,9 @@ jobs:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v2
|
||||
with:
|
||||
driver-opts: network=host
|
||||
- name: Set up QEMU
|
||||
run: |
|
||||
docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
|
||||
|
||||
- name: Build image for testing
|
||||
uses: docker/build-push-action@v3
|
||||
@@ -125,7 +124,8 @@ jobs:
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v2
|
||||
run: |
|
||||
docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v2
|
||||
@@ -172,10 +172,11 @@ jobs:
|
||||
ghcr.io/chialab/php-dev:${{ matrix.version }}${{ matrix.flavor }}
|
||||
push: true
|
||||
|
||||
- name: Build PCOV image (amd64 only) and push to registry
|
||||
- name: Build PCOV image and push to registry
|
||||
if: ${{ matrix.version >= 7.1 }}
|
||||
uses: docker/build-push-action@v3
|
||||
with:
|
||||
platforms: linux/amd64,linux/arm64
|
||||
cache-to: type=inline
|
||||
context: ./pcov
|
||||
build-args: |
|
||||
|
||||
Reference in New Issue
Block a user