Skip to content

Comments

Add non-interactive flags to apt install commands and fix trivy scan#2

Merged
miragecentury merged 1 commit intomainfrom
claude/fix-merge-job-failure-y9bcg
Feb 19, 2026
Merged

Add non-interactive flags to apt install commands and fix trivy scan#2
miragecentury merged 1 commit intomainfrom
claude/fix-merge-job-failure-y9bcg

Conversation

@miragecentury
Copy link
Contributor

Summary

This PR makes improvements to the installation scripts and CI/CD workflow by adding non-interactive flags to package manager commands and fixing a trivy image scan command.

Key Changes

  • Added -y flag to apt install and apt-get install commands in scripts/install_tools.sh to enable non-interactive installation of dive and trivy dependencies
  • Removed the image name argument from the trivy scan command in .github/workflows/release.yaml since the --input flag is being used to scan a tar file instead of a live image

Implementation Details

  • The -y flags ensure that apt commands automatically answer "yes" to prompts, preventing installation scripts from hanging when run in automated environments
  • The trivy command fix aligns the scan invocation with the input method being used (scanning a local tar archive rather than a registry image), which should resolve any potential command execution issues in the release workflow

https://claude.ai/code/session_01AsbB8zCyMJ9WGHvkvuSHHg

- Add -y to apt install calls for dive and wget/gnupg in install_tools.sh
  to prevent interactive prompts blocking the CI runner
- Remove extra positional image name argument from trivy --input command
  in release.yaml; --input already specifies the archive to scan

https://claude.ai/code/session_01AsbB8zCyMJ9WGHvkvuSHHg
@miragecentury miragecentury merged commit 248451a into main Feb 19, 2026
3 checks passed
@miragecentury miragecentury deleted the claude/fix-merge-job-failure-y9bcg branch February 19, 2026 20:31
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.

2 participants