Repository navigation
fix(deploy): refresh and upgrade Debian packages in published images - #359
Merged
TheGreatAxios merged 2 commits intoNov 26, 2026
Merged
TheGreatAxios merged 2 commits into
TheGreatAxios merged 2 commits into
Conversation
TheGreatAxios
marked this pull request as draft
November 26, 2026 06:42
TheGreatAxios
force-pushed
the
cl-12436-unblock-publish-by-rebuilding-the-images-debian
branch
from
November 26, 2026 17:13
2f950c9 to
9447d22
Compare
TheGreatAxios
marked this pull request as ready for review
November 26, 2026 17:28
|
Triage: Pass No changes needed from you. A maintainer will review this pull request. Notes:
Approve held: code review did not report on this head. |
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.
What
Unblocks the
Publishworkflow by letting the runtime image pull current Debian security updates on each workflow attempt and scanning bothlinux/amd64andlinux/arm64before publishing.Why
Publishhad been failing at the Trivy scan because the cachedruntimestage kept older Debian packages (including vulnerable Kerberos libraries), and pinning exact Debian package versions indeploy/Dockerfilebroke uncached builds whenever Debian superseded a version such aslibnss3. The previous scan step also only checked the runner's native architecture.Changes
deploy/Dockerfile: remove hard-coded Debian package pins and manualapt/libapt-pkg7.0/zlib1goverrides, addARG RUNTIME_CACHE_ID, and runapt-get upgrade -y --no-install-recommendsbefore installing runtime packages..github/workflows/publish.yml: passRUNTIME_CACHE_ID=${{ github.run_id }}-${{ github.run_attempt }}so Debian packages refresh once per workflow attempt while reusing theruntimelayer across scan and multi-arch builds, and build + scan bothlinux/amd64andlinux/arm64for the sidecar and hub images before the multi-arch publish steps.Closes CL-12436