docs(get-images-from-files): document compose support (#28)
CD / Release (push) Successful in 5s
CD / Release (push) Successful in 5s
get-images-from-files already supports compose files. This PR explicitly documents the compatibility and includes a test. Reviewed-on: t.behrendt/trivy-actions#28 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 #28.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
A reusable Gitea Action, that extracts docker images from selected files in a repository.
|
||||
|
||||
The action supports Dockerfiles and Kubernetes manifests. Other files are supported if they have a recognizable image reference. Duplicate image references are deduplicated.
|
||||
The action supports Dockerfiles, Kubernetes manifests, and Docker Compose/compose files. Other files are supported if they have a recognizable image reference. Duplicate image references are deduplicated.
|
||||
|
||||
**Note:** Only fully-qualified refs (with registry, e.g. `docker.io/library/alpine:latest`, `gcr.io/distroless/static:nonroot@sha256:...`) are included; short refs like `alpine:latest` are omitted as their use is discouraged.
|
||||
|
||||
@@ -17,6 +17,7 @@ The action supports Dockerfiles and Kubernetes manifests. Other files are suppor
|
||||
files: |
|
||||
- Dockerfile
|
||||
- k8s/50_deployment.yaml
|
||||
- dockers/compose.yaml
|
||||
- values/traefik.yaml
|
||||
```
|
||||
|
||||
@@ -37,6 +38,7 @@ jobs:
|
||||
files: |
|
||||
- Dockerfile
|
||||
- k8s/50_deployment.yaml
|
||||
- dockers/compose.yaml
|
||||
- values/traefik.yaml
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user