From 38a3eb0c0ebc8241f3e543fc941103a97d083c98 Mon Sep 17 00:00:00 2001 From: Maksim Nabokikh Date: Mon, 16 Feb 2026 12:36:23 +0100 Subject: [PATCH] Refactor image fetching in artifacts workflow Updated the workflow to fetch Docker images directly into a directory instead of using a tarball. Removed the extraction step for the tarball. Signed-off-by: Maksim Nabokikh --- .github/workflows/artifacts.yaml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/artifacts.yaml b/.github/workflows/artifacts.yaml index 18d8a966..db1a0d44 100644 --- a/.github/workflows/artifacts.yaml +++ b/.github/workflows/artifacts.yaml @@ -159,8 +159,9 @@ jobs: - name: Fetch image run: | + mkdir -p docker-image FIRST_TAG=$(jq -r '.manifests[0].annotations["org.opencontainers.image.ref.name"]' image/index.json) - skopeo copy oci-archive:image.tar:${FIRST_TAG} docker-archive:docker-image.tar + skopeo copy oci-archive:image.tar:${FIRST_TAG} dir:./docker-image # Uncomment the following lines for debugging: # - name: Upload image as artifact @@ -169,11 +170,6 @@ jobs: # name: "[${{ github.job }}] OCI tarball" # path: image.tar - - name: Extract tarball - run: | - mkdir -p docker-image - tar -xf docker-image.tar -C docker-image - - name: Debug - list extracted files run: | ls -la docker-image/