Skip to content

Cache images#3

Merged
alicefr merged 4 commits into
mainfrom
improve-gh
May 21, 2026
Merged

Cache images#3
alicefr merged 4 commits into
mainfrom
improve-gh

Conversation

@alicefr

@alicefr alicefr commented May 20, 2026

Copy link
Copy Markdown
Collaborator

Cache the images to speed up the tests

@alicefr
alicefr force-pushed the improve-gh branch 3 times, most recently from 273307b to 45ad2cd Compare May 20, 2026 12:48
Use skopeo to query remote digests and key the GHA cache on actual
image content. On cache hit, podman load replaces network pulls.
Each image is saved as a separate tarball to preserve image-volume
layer structure.

Assisted-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
alicefr added 3 commits May 20, 2026 13:42
Mount the host image cache directory into the nested container
and load tarballs into its podman storage before running tests.
The cache path is configurable via IMAGE_CACHE_DIR env var.

Assisted-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Assisted-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Run the glob expansion and podman load inside a single
bash -c in the container so *.tar resolves correctly.

Assisted-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@alicefr
alicefr merged commit 86d2408 into main May 21, 2026
4 of 5 checks passed
@alicefr
alicefr deleted the improve-gh branch June 18, 2026 10:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant