Skip to content

fix(ci): no-cache + pull on container scan#149

Merged
amavashev merged 1 commit into
mainfrom
ops/scan-no-cache
May 3, 2026
Merged

fix(ci): no-cache + pull on container scan#149
amavashev merged 1 commit into
mainfrom
ops/scan-no-cache

Conversation

@amavashev
Copy link
Copy Markdown
Collaborator

Same fix as cycles-dashboard#158. Cached apk upgrade layers make Trivy scan stale package state. no-cache: true + pull: true ensures every scan runs against what would actually be built today. ~3-5 min scan instead of ~30s — correct tradeoff for security.

Same fix as cycles-dashboard PR #158. Caching the apk upgrade layer
makes Trivy scan a cached image rather than what would actually be
built today. For security scans we always want the fresh state.

Tradeoff: ~3-5 min scan instead of ~30s. Right tradeoff for
security-scan workflows.
@amavashev amavashev enabled auto-merge (squash) May 3, 2026 11:21
@amavashev amavashev merged commit 008c992 into main May 3, 2026
8 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