Skip to content

Conversation

@Alex-Welsh
Copy link
Member

Docker's standard tabular output isn't designed for scripting, so inevitably has broken builds

Fixed it by using proper output formatting

See broken fixed

@Alex-Welsh Alex-Welsh requested a review from a team as a code owner November 25, 2025 10:17
Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request correctly addresses a potential fragility in the container scanning script by switching from parsing docker image ls's tabular output to using the --format flag for machine-readable output. This is a great improvement for the script's reliability. I've added one suggestion to further simplify the code by removing an unnecessary intermediate file, which also prevents leaving temporary files in the working directory.

@dougszumski dougszumski merged commit 390f2d8 into stackhpc/2025.1 Nov 27, 2025
26 of 28 checks passed
@dougszumski dougszumski deleted the fix-scan-images branch November 27, 2025 09:40
dougszumski pushed a commit that referenced this pull request Nov 27, 2025
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.

4 participants