Skip to content

CI: Purge Docker cache and rebuild from scratch on nightly scheduled builds.#141

Merged
brycelelbach merged 2 commits intomainfrom
nightly-purge-docker-cache
Feb 23, 2026
Merged

CI: Purge Docker cache and rebuild from scratch on nightly scheduled builds.#141
brycelelbach merged 2 commits intomainfrom
nightly-purge-docker-cache

Conversation

@brycelelbach
Copy link
Collaborator

Nightly scheduled builds should rebuild from scratch to ensure we catch any issues with stale caches or upstream image changes.

Changes:

  • Build workflow: Add a step to prune the Docker buildx and system cache before building on scheduled runs, and skip cache-from flags so images are rebuilt without pulling cached layers from the registry. The cache-to is still active so the fresh build repopulates the registry cache for subsequent pushes/PRs.
  • Mirror workflow: Adjust nightly schedule to 11 PM EST (4 AM UTC).

@github-actions
Copy link
Contributor

❌ Link Check Failed

Broken links were detected in this PR.

Please check the workflow run logs for details on which links are broken.

Common fixes:

  1. Typo in URL - Check for spelling mistakes in the link
  2. Outdated link - The page may have moved or been deleted
  3. Relative path issue - Ensure relative links use the correct path
  4. External site down - If the external site is temporarily down, you can add it to brev/.lycheeignore

To test links locally:

./brev/test-links.bash .

📚 Lychee documentation

@brycelelbach brycelelbach force-pushed the nightly-purge-docker-cache branch from a77155f to d0d8bb1 Compare February 22, 2026 17:00
@brycelelbach brycelelbach force-pushed the nightly-purge-docker-cache branch from d0d8bb1 to 318d9b5 Compare February 23, 2026 15:43
@brycelelbach brycelelbach merged commit 69150a9 into main Feb 23, 2026
13 of 18 checks passed
@brycelelbach brycelelbach deleted the nightly-purge-docker-cache branch February 23, 2026 15:44
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