Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build container image for testing when necessary #12

Open
jvanz opened this issue Dec 30, 2020 · 0 comments
Open

Build container image for testing when necessary #12

jvanz opened this issue Dec 30, 2020 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@jvanz
Copy link
Collaborator

jvanz commented Dec 30, 2020

Change the github action used to build the container image used in the tests only when the Dockerfile is updated. Thus, the test workflow will run faster.

@jvanz jvanz added enhancement New feature or request good first issue Good for newcomers labels Dec 30, 2020
vitorbaptista added a commit to vitorbaptista/querido-diario-api that referenced this issue Oct 1, 2021
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.
@jvanz jvanz moved this to Todo in Querido Diario Oct 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
Status: Todo
Development

No branches or pull requests

1 participant