Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dunglas committed Dec 12, 2023
1 parent 681944a commit be85984
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down

0 comments on commit be85984

Please sign in to comment.