mirror of
https://github.com/Dannecron/php-for-dev.git
synced 2025-12-26 00:22:36 +03:00
rever trying to use multiarch build
This commit is contained in:
6
.github/workflows/continuous-integration.yml
vendored
6
.github/workflows/continuous-integration.yml
vendored
@@ -20,9 +20,6 @@ jobs:
|
|||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Set up QEMU
|
|
||||||
uses: docker/setup-qemu-action@v3
|
|
||||||
|
|
||||||
- name: Login to docker hub
|
- name: Login to docker hub
|
||||||
uses: actions-hub/docker/login@master
|
uses: actions-hub/docker/login@master
|
||||||
env:
|
env:
|
||||||
@@ -36,8 +33,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Build the Docker images ${{ matrix.php_version }}
|
- name: Build the Docker images ${{ matrix.php_version }}
|
||||||
run: |
|
run: |
|
||||||
docker buildx build --cache-from=dannecron/php-for-dev:${{ matrix.php_version }} \
|
DOCKER_BUILDKIT=1 docker build --cache-from=dannecron/php-for-dev:${{ matrix.php_version }} \
|
||||||
--platform=linux/amd64,linux/arm64/v8 \
|
|
||||||
--build-arg BUILDKIT_INLINE_CACHE=1 \
|
--build-arg BUILDKIT_INLINE_CACHE=1 \
|
||||||
--build-arg COMPOSER_VERSION=${{ env.COMPOSER_VERSION }} \
|
--build-arg COMPOSER_VERSION=${{ env.COMPOSER_VERSION }} \
|
||||||
--tag=localhost/php-for-dev:${{ matrix.php_version }} \
|
--tag=localhost/php-for-dev:${{ matrix.php_version }} \
|
||||||
|
|||||||
Reference in New Issue
Block a user