Skip to content

Commit 5afde55

Browse files
committed
ci: debug Docker buildx crash
1 parent da63e70 commit 5afde55

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/docker.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,21 +48,21 @@ jobs:
4848
echo php82_version="${PHP_82_LATEST//./-}"
4949
echo php83_version="${PHP_83_LATEST//./-}"
5050
} >> "${GITHUB_OUTPUT}"
51-
51+
5252
# Check if the Docker images must be rebuilt
5353
if [[ "${GITHUB_EVENT_NAME}" != "schedule" ]]; then
5454
echo skip=false >> "${GITHUB_OUTPUT}"
5555
exit 0
5656
fi
57-
57+
5858
FRANKENPHP_82_LATEST=$(skopeo inspect docker://docker.io/dunglas/frankenphp:latest-php8.2 --override-os linux --override-arch amd64 | jq -r '.Env[] | select(test("^PHP_VERSION=")) | sub("^PHP_VERSION="; "")')
5959
FRANKENPHP_83_LATEST=$(skopeo inspect docker://docker.io/dunglas/frankenphp:latest-php8.3 --override-os linux --override-arch amd64 | jq -r '.Env[] | select(test("^PHP_VERSION=")) | sub("^PHP_VERSION="; "")')
6060
6161
if [[ "${FRANKENPHP_82_LATEST}" == "${PHP_82_LATEST}" ]] && [[ "${FRANKENPHP_83_LATEST}" == "${PHP_83_LATEST}" ]]; then
6262
echo skip=true >> "${GITHUB_OUTPUT}"
6363
exit 0
6464
fi
65-
65+
6666
{
6767
echo ref="$(gh release view --repo dunglas/frankenphp --json tagName --jq '.tagName')"
6868
echo skip=false
@@ -242,6 +242,7 @@ jobs:
242242
name: Create manifest list and push
243243
working-directory: /tmp/metadata
244244
run: |
245+
set -x
245246
# shellcheck disable=SC2046,SC2086
246247
docker buildx imagetools create $(jq -cr '.target."${{ matrix.target }}-${{ matrix.variant }}".tags | map("-t " + .) | join(" ")' <<< ${METADATA}) \
247248
$(printf 'dunglas/frankenphp@sha256:%s ' *)

0 commit comments

Comments
 (0)