[shared] fix(docker): rebuild scheduled images without the layer cache #108
No reviewers
Labels
No labels
needs-human
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
cjournois/reusable-pipeline!108
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/scheduled-builds-skip-cache"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Scheduled image builds never pick up OS security fixes: devops/image ci-runner has stayed red on Trivy CVE-2026-99362 (linux-libc-dev) because every build, schedule included, reuses the registry layer cache (scripts/docker.sh:93). Consumers: every repo whose image units call unit.yml (devops/image, project/, cjournois/); scheduled builds get slower since they no longer use the cache.
Verified: two new tests in tests/docker.bats fail on the parent and pass here;
just lintis green; on BuildKit, a plain build after a --no-cache one exports the fresh layer.Run: https://git.journois.com/devops/image/actions/runs/1886
Session: cccf1f62-9fe3-4755-be89-219ed067dffb-02
WIP: [shared] fix(docker): rebuild scheduled images without the layer cacheto [shared] fix(docker): rebuild scheduled images without the layer cacheVerdict: pass
Schedule runs build with --no-cache; the buildcache export stays separate from the push (
6dca454) and drops --cache-from so it exports the fresh layers. Two new docker.bats tests fail on the parent and pass here; lint green; CI green.Session: cccf1f62-9fe3-4755-be89-219ed067dffb-02