File tree Expand file tree Collapse file tree 3 files changed +107
-111
lines changed Expand file tree Collapse file tree 3 files changed +107
-111
lines changed Original file line number Diff line number Diff line change 2727 - name : Build locally
2828 run : |
2929 PHP_VERSION="${{ matrix.php_version }}"
30- docker buildx bake --load \
31- --set "*.platform=$(uname -p) " \
30+ docker buildx bake --pull -- load \
31+ --set "*.platform=linux/amd64 " \
3232 php${PHP_VERSION//.}-${{ matrix.variant }}
3333 docker images --filter=reference=thecodingmachine/php
3434 - name : Login to DockerHub
4343 if : ${{ github.event_name == 'push' || github.event_name == 'schedule' }}
4444 run : |
4545 PHP_VERSION="${{ matrix.php_version }}"
46- PHP_PATCH_VERSION=`docker run --rm thecodingmachine/php:${PHP_VERSION}-v4-slim-${BRANCH_VARIANT} php -v | head -n1 | grep -P '\d+\.\d+\.\d+' -o | head -n1`
47- TAG=${PHP_PATCH_VERSION} docker buildx bake --push \
46+ 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`
47+ PHP_MINOR="${PHP_PATCH_VERSION}" docker buildx bake --pull \
48+ --set "*.platform=linux/amd64,linux/arm64" \
49+ --set=*.output=type=registry \
4850 php${PHP_VERSION//.}-${{ matrix.variant }}
You can’t perform that action at this time.
0 commit comments