Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: thecodingmachine/docker-images-php
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: d4afff08316341d21c3545a0d82f5c457ffc23b4
Choose a base ref
..
head repository: thecodingmachine/docker-images-php
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 124d49c7dc2440fdeea7d6ca1ed7c326b6a27536
Choose a head ref
Showing with 3 additions and 2 deletions.
  1. +3 −2 .github/workflows/workflow.yml
5 changes: 3 additions & 2 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
@@ -27,7 +27,7 @@ jobs:
- name: Build locally
run: |
PHP_VERSION="${{ matrix.php_version }}"
docker buildx bake --load \
docker buildx bake --pull --load \
--set "*.platform=linux/amd64" \
php${PHP_VERSION//.}-${{ matrix.variant }}
docker images --filter=reference=thecodingmachine/php
@@ -44,6 +44,7 @@ jobs:
run: |
PHP_VERSION="${{ matrix.php_version }}"
PHP_PATCH_VERSION=`docker run --rm thecodingmachine/php:${PHP_VERSION}-v4-slim-${{ matrix.variant }} php -v | head -n1 | grep -P '\d+\.\d+\.\d+' -o | head -n1`
PHP_MINOR="${PHP_PATCH_VERSION}" docker buildx bake --push \
PHP_MINOR="${PHP_PATCH_VERSION}" docker buildx bake --pull \
--set "*.platform=linux/amd64,linux/arm64" \
--set=*.output=type=registry \
php${PHP_VERSION//.}-${{ matrix.variant }}