ci: enable caching of container image builds #1567
Labels
dependencies
Pull requests that update a dependency file
Developer_Experience
enhancement
New feature or request
Flaky-Test-Automation
Issues related to test stability (which is a long running issue that can never fully be solved)
good-first-issue
Good for newcomers
good-first-issue-400-expert
Hacktoberfest
Hacktoberfest participants are welcome to take a stab at issues marked with this label.
help wanted
Extra attention is needed
P2
Priority 2: High
Tests
Anything related to tests be that automatic or manual, integration or unit, etc.
Description
As a maintainer I want to make the CI faster and less wasteful so that it's easier to work with it and uses less energy in an attempt to save the planet.
Therefore the CI should check before building images if they were built already, e.g. some kind of shared cache among different executions would be nice because the way it is now, likely 95% of our image builds are producing the same SHAs from scratch every single time which is wasteful and slower than it should be and especially annoying when we get a flaky build fail even though it was passing several times before.
Acceptance Criteria
build-containers
CI job (10+ images IIRC)The text was updated successfully, but these errors were encountered: