From 433eb9fa714ff587b7db50e5dab11481dcab9e25 Mon Sep 17 00:00:00 2001 From: Pablo Zmdl Date: Thu, 23 Jul 2026 16:16:20 +0200 Subject: [PATCH] Another attempt to make skopeo just inspect images Signed-off-by: Pablo Zmdl --- .ci/update-test-container-image-reference.py | 1 + .github/workflows/update-test-container-image-references.yml | 5 +---- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.ci/update-test-container-image-reference.py b/.ci/update-test-container-image-reference.py index f6ba2388..76a9a4a7 100755 --- a/.ci/update-test-container-image-reference.py +++ b/.ci/update-test-container-image-reference.py @@ -43,6 +43,7 @@ def update_image_digest(content, full_ref, current_digest, file_path): "skopeo", "inspect", "--override-os", "linux", "--no-tags", + "--no-creds", "--format", "{{.Digest}}", f"docker://{full_ref}", ]) diff --git a/.github/workflows/update-test-container-image-references.yml b/.github/workflows/update-test-container-image-references.yml index d1282e06..58d5650c 100644 --- a/.github/workflows/update-test-container-image-references.yml +++ b/.github/workflows/update-test-container-image-references.yml @@ -14,10 +14,7 @@ jobs: - name: Install skopeo run: sudo apt-get install -y skopeo - name: Run update script - run: | - # Avoid skopeo trying to write to /run/containers/$USER_ID, which it isn't allowed to do in this context. - export REGISTRY_AUTH_FILE="$(mktemp)" - python3 .ci/update-test-container-image-reference.py + run: python3 .ci/update-test-container-image-reference.py - name: Create Pull Request uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v7 with: