diff --git a/.github/workflows/docker.yaml b/.github/workflows/docker.yaml index b4fbddfd9..bb0f33c8d 100644 --- a/.github/workflows/docker.yaml +++ b/.github/workflows/docker.yaml @@ -33,8 +33,7 @@ jobs: id: matrix run: | # Fetch latest versions of PHP - skopeo inspect docker://docker.io/library/php:8.2 --override-os linux --override-arch amd64 - skopeo inspect docker://docker.io/library/php:8.3 --override-os linux --override-arch amd64 + skopeo inspect docker://docker.io/library/php:8.2 --override-os linux --override-arch amd64 | jq -r '.Env.[]' PHP_82_LATEST=$(skopeo inspect docker://docker.io/library/php:8.2 --override-os linux --override-arch amd64 | jq -r '.Env.[] | select(test("^PHP_VERSION=")) | sub("^PHP_VERSION="; "")') PHP_83_LATEST=$(skopeo inspect docker://docker.io/library/php:8.3 --override-os linux --override-arch amd64 | jq -r '.Env.[] | select(test("^PHP_VERSION=")) | sub("^PHP_VERSION="; "")') export PHP_VERSION="${PHP_83_LATEST},${PHP_82_LATEST}"