Repository navigation
feat(release-images): rebuild images when a fresh build fixes vulnerabilities - #28
Merged
Merged
Conversation
…bilities Distro package fixes reach an image only through a rebuild, and nothing triggered one while the base digest stayed put, so image repositories needed a hand release. Releasing only when the fresh build has strictly fewer fixable findings keeps a fix that needs a newer base from looping.
🟢 Tier S · Ready to mergeDocuments the rebuild process and repository enrollment requirements.
📂 Walkthrough · 3
🔇 Filtered out · 1Findings Hansi considered but did not post.
Reviewed |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a
rebuildjob matrix torelease-images(daily 08:00 UTC, after the Renovate release job). Per image repository:--pull --no-cache, linux/amd64) and scan it.The app token is minted only after the build, scoped to the one repository with
contents: write.dryRuncovers the new jobs. Counts and decisions go to the run summary.--target finalengine/,--target prod; pushes av*tag becausepublish.ymlcreates the release itselfphp-8.5-<head sha>instead of building; needs utopia-php/docker-base#24Local check:
appwrite/geo:0.3.8has 38 fixable findings (all libpq); a no-cache build of docker-geo#21 has 0.Related: appwrite-labs/cloud#6671