ci: establish workflow to clean up image artifacts - #390
Conversation
Signed-off-by: Brooke Storm <brookes@nvidia.com>
📝 WalkthroughWalkthroughAdds ChangesGHCR CI Image Cleanup
Docker Build Filesystem Read Allowance
CI Coverage Comment Refinement
Possibly related PRs
Suggested reviewers
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Signed-off-by: Brooke Storm <brookes@nvidia.com>
|
Signed-off-by: Brooke Storm <brookes@nvidia.com>
Signed-off-by: Brooke Storm <brookes@nvidia.com>
LGTM, but did we try a dry run on this PR? |
I did https://github.com/NVIDIA-NeMo/nemo-platform/actions/runs/27977381912/job/82798482032 |
Signed-off-by: Brooke Storm <brookes@nvidia.com>
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@Makefile`:
- Around line 36-37: The DOCKER_BAKE_ALLOW_FS_READ_FLAG variable definition uses
the incorrect syntax for the docker buildx bake allow flag. Change the flag from
--allow=fs.read=$(DOCKER_BAKE_ALLOW_FS_READ) to --allow
fs.read=$(DOCKER_BAKE_ALLOW_FS_READ) by replacing the equals sign with a space
after --allow to match the documented Docker syntax.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Enterprise
Run ID: 65e3c9dd-b8fe-485c-8399-7f16eb1be015
📒 Files selected for processing (2)
.github/workflows/ci.yamlMakefile
Initially this is going to do a dry run on the PR, but the goal is to ensure we aren't adding lots of useless images to the ghcr registry, since most of the builds are purely for testing.
Summary by CodeRabbit
stale_hoursand adry_runmode to preview deletions.allow=fs.readcontrol via Bake flags.