Files
sec-actions/get-images-from-files/test.Dockerfile
T
t.behrendt 83a7cef9f1
CD / Release (push) Successful in 6s
fix: Dockerfile handling with alias (#46)
The previous version didn't support Docker images with an alias e.g. "... AS base".

Reviewed-on: t.behrendt/trivy-actions#46
Reviewed-by: branch-buddy <branch-buddy@t00n.de>
Co-authored-by: Timo Behrendt <t.behrendt@t00n.de>
Co-committed-by: Timo Behrendt <t.behrendt@t00n.de>
2026-02-26 21:52:38 +01:00

14 lines
646 B
Docker

# Used by CI to test get-images-from-files action (registry refs only, distinct from K8s)
# Registry with tag (Dockerfile)
FROM example.com/library/nginx:v1
# Registry path with tag — shared with K8s to test deduplication
FROM example.com/distroless/static:nonroot
# Registry with digest (Dockerfile)
FROM example.com/library/base@sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa AS base
# Ignored tags
## Short repo:tag (ignored by design; only registry refs are extracted)
FROM nginx:3.19
## With digest only but no registry (ignored)
FROM nginx@sha256:1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef