Skip to content

Release v0.2.2 (fix the Trivy ignore input) - #79

Merged
an1ndra merged 2 commits into
mainfrom
Develop
Nov 17, 2026
Merged

an1ndra merged 2 commits into
mainfrom
Develop

Conversation

@an1ndra

@an1ndra an1ndra commented Nov 17, 2026

Copy link
Copy Markdown
Owner

What does this change?

Checklist

  • ./mvnw verify passes locally
  • python3 tools/smoke_test.py passes against tools/mock-upstream.py
  • New behaviour is covered by a test (unit or smoke)
  • The matching file in docs/ updated if an endpoint, config key or field changed
  • No credentials, .env files or data/ contents included

Both cost a failed release to learn:

- the Dockerfile fetches Maven itself because the wrapper's curl/unzip are not in the
  base image; do not simplify it back to ./mvnw without building the image
- .trivyignore.yaml is not auto-detected, so the release workflow passes it explicitly;
  every entry carries a statement and an expiry, so an accepted CVE fails the gate again
  on that date
v0.2.1 did fix the vulnerabilities, then failed the scan anyway:

  Unexpected input(s) 'ignorefile', valid inputs are [..., 'trivyignores', ...]

trivy-action only warns about an unknown input, so the scan ran without the exceptions and
still saw the two accepted Spring CVEs. The input is `trivyignores` (plural,
comma-separated). Fixed, with a comment saying why the name matters.

0.2.2 rather than another re-tag: v0.2.1's image was pushed to GHCR before the scan failed,
so that version has published artifacts too.

Tests unchanged at 164; this touches the workflow and the version only.
@github-actions

Copy link
Copy Markdown

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@an1ndra
an1ndra merged commit 45fcd5f into main Nov 17, 2026
14 checks passed
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.

1 participant