-
Notifications
You must be signed in to change notification settings - Fork 2
Use dev image #419
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Use dev image #419
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -12,7 +12,7 @@ jobs: | |
| name: 'trigger FOSSA scan' | ||
| runs-on: ubuntu-latest | ||
| container: | ||
| image: vdaas/vald-ci-container:nightly | ||
| image: vdaas/vald-dev-container:nightly | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain🏁 Script executed: # First, explore the workflows directory structure
find .github/workflows -type f -name "*.yml" -o -name "*.yaml" | head -20Repository: vdaas/vald-client-java Length of output: 332 🏁 Script executed: # Check the specific file mentioned in the review
cat -n .github/workflows/fossa.yml | head -30Repository: vdaas/vald-client-java Length of output: 1149 🏁 Script executed: # Check e2e.yaml to compare image reference format
cat -n .github/workflows/e2e.yaml | grep -A 2 -B 2 "image:"Repository: vdaas/vald-client-java Length of output: 274 🏁 Script executed: # Search for all image references in workflow files to understand patterns
rg "image:\s+" .github/workflows/ -A 1 -B 1Repository: vdaas/vald-client-java Length of output: 552 🏁 Script executed: # Check all image references in workflows
rg "image:" .github/workflows/ | grep -v "actions/" | sort -uRepository: vdaas/vald-client-java Length of output: 225 🏁 Script executed: # Look for any docs about image or container standards
find . -type f \( -name "*.md" -o -name "*.txt" \) | xargs grep -l "vald-dev-container\|container.*image" 2>/dev/null | head -5Repository: vdaas/vald-client-java Length of output: 48 Align image reference format with canonical registry path and remove mutable tag. The Suggested change- image: vdaas/vald-dev-container:nightly
+ image: ghcr.io/vdaas/vald/vald-dev-container@sha256:<approved_digest>🤖 Prompt for AI Agents |
||
| if: github.ref == 'refs/heads/main' || github.event.action == 'labeled' && github.event.label.name == 'actions/fossa' | ||
| steps: | ||
| - uses: actions/checkout@v3 | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🏁 Script executed:
Repository: vdaas/vald-client-java
Length of output: 48
🏁 Script executed:
Repository: vdaas/vald-client-java
Length of output: 332
🏁 Script executed:
cat -n .github/workflows/e2e.yaml | head -50Repository: vdaas/vald-client-java
Length of output: 1330
🏁 Script executed:
Repository: vdaas/vald-client-java
Length of output: 1092
Pin the workflow container image by digest, not
:nightly.Using a mutable tag makes the E2E runtime non-reproducible and can silently introduce unreviewed image changes. Prefer an immutable digest (
@sha256:...) and update it intentionally.Suggested change
🤖 Prompt for AI Agents