Files
sec-actions/get-images-from-files/test-deployment.yaml
T
t.behrendt 61da085e0f
CI / Test Setup Trivy amd64 (pull_request) Successful in 9s
CI / Test Setup DB (pull_request) Successful in 15s
CI / Test Get Images From Files (pull_request) Successful in 20s
CI / Test Setup Trivy arm64 (pull_request) Successful in 23s
test: make test cases unique and test de-duplication
2026-02-05 14:34:21 +01:00

20 lines
632 B
YAML

# 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