Skip to content

Comments

[WIP] Cache podman layers in GitHub workflows (#12)#43

Open
vitorbaptista wants to merge 1 commit intookfn-brasil:mainfrom
vitorbaptista:12-cache-podman
Open

[WIP] Cache podman layers in GitHub workflows (#12)#43
vitorbaptista wants to merge 1 commit intookfn-brasil:mainfrom
vitorbaptista:12-cache-podman

Conversation

@vitorbaptista
Copy link

I enabled GitHub caching for podman's layer cache folder
(~/.local/share/containers/) and reordered the commands in the
Dockerfile to optimize the cache usage by keeping the things that change
the most (i.e. the code) in the last build steps.

GitHub will automatically delete the cache if it's unused after a few
days.

I enabled GitHub caching for podman's layer cache folder
(`~/.local/share/containers/`) and reordered the commands in the
Dockerfile to optimize the cache usage by keeping the things that change
the most (i.e. the code) in the last build steps.

GitHub will automatically delete the cache if it's unused after a few
days.
@vitorbaptista
Copy link
Author

This PR is still WIP as the caching failed because there are files in ~/.local/shared/containers GitHub's user doesn't have permissions to read. You can check the failure in https://github.com/vitorbaptista/querido-diario-api/runs/3773069576. I'll check it out another day (if anyone wants to take a look, please feel free)

@ogecece ogecece added the hacktoberfest-accepted Hacktoberfest label label Oct 29, 2021
@diraol diraol force-pushed the main branch 4 times, most recently from adf2084 to 8352b14 Compare January 13, 2026 19:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

hacktoberfest-accepted Hacktoberfest label

Projects

Development

Successfully merging this pull request may close these issues.

2 participants