feat: add get-images-from-files action (#27)
CD / Release (push) Successful in 11s

Reviewed-on: t.behrendt/trivy-actions#27
Reviewed-by: branch-buddy <branch-buddy@t00n.de>
Co-authored-by: t.behrendt <t.behrendt@t00n.de>
Co-committed-by: t.behrendt <t.behrendt@t00n.de>
This commit was merged in pull request #27.
This commit is contained in:
2026-02-05 14:52:41 +01:00
committed by t.behrendt
parent cde02f6bc2
commit a076c9d732
5 changed files with 161 additions and 0 deletions
@@ -0,0 +1,19 @@
# Used by CI to test get-images-from-files action (K8s, distinct from Dockerfile)
apiVersion: apps/v1
kind: Deployment
metadata:
name: test
spec:
replicas: 1
template:
spec:
containers:
- name: app
# Registry with tag (K8s)
image: example.com/library/app:v2
- name: shared
# Same ref as in test.Dockerfile — tests deduplication
image: example.com/distroless/static:nonroot
- name: by-digest
# Registry with digest (K8s)
image: example.com/myproject/helper@sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb