ci: publish images to SWR and limit the workflow token permissions - #30
Merged
Merged
Conversation
Aloento
added this pull request to stack #31
September 23, 2026 17:05
Zuul is retired and the repository has no quay.io credentials, so the previous publish path could never run. SWR is the native OTC registry and StatusDashboard-Backend already publishes there; align both workflows.
The test and coverage jobs inherited the default write token, which CodeQL reports as actions/missing-workflow-permissions; both only read the repository.
Aloento
force-pushed
the
chore/swr-image-publishing
branch
from
September 23, 2026 17:10
d1eacde to
6bd1741
Compare
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.
Publishes images to OTC SWR instead of quay.io, mirroring the StatusDashboard-Backend workflow:
stackmon-preprodfor main and manual runs,stackmonfor releases, and thechange_<pr>_latesttag is dropped. Zuul is retired and no quay.io credentials exist in this repository, so the previous path never ran.Also sets
permissions: contents: readinci.yml; both jobs only read the repository, and CodeQL reported actions/missing-workflow-permissions for them.Verified with actionlint (no findings) and a diff against the backend workflow, which differs only in
PROJECTandtarget: metrics-processor. Thepublish-preprodandpublishjobs run only on main or a release, so the SWR login and push are not exercised by this PR.