From 8bceba4a9e24f29ba8cc70b3235f8b0c24fd5352 Mon Sep 17 00:00:00 2001 From: Maksim Nabokikh Date: Mon, 16 Feb 2026 10:05:05 +0100 Subject: [PATCH] Add debug steps for image listing and extraction Added debug steps to list images and extracted files. Signed-off-by: Maksim Nabokikh --- .github/workflows/artifacts.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/artifacts.yaml b/.github/workflows/artifacts.yaml index 13dc12e4..77e3d4a2 100644 --- a/.github/workflows/artifacts.yaml +++ b/.github/workflows/artifacts.yaml @@ -142,8 +142,12 @@ jobs: id: image-ref run: echo "value=${{ steps.image-name.outputs.value }}@${{ steps.build.outputs.digest }}" >> "$GITHUB_OUTPUT" + - name: Debug - list images + run: | + cat image/index.json + - name: Fetch image - run: skopeo --insecure-policy copy oci-archive:image.tar docker-archive:docker-image.tar + run: skopeo copy oci-archive:image.tar:$(skopeo list-tags oci-archive:image.tar | jq -r '.Tags[0]') docker-archive:docker-image.tar # Uncomment the following lines for debugging: # - name: Upload image as artifact @@ -158,7 +162,7 @@ jobs: tar -xf docker-image.tar -C docker-image - name: Debug - list extracted files - run: | + run: | ls -la image/ find image -type f | head -20