initial commit
This commit is contained in:
27
dev/tekton/tasks/syft-task.yaml
Executable file
27
dev/tekton/tasks/syft-task.yaml
Executable file
@@ -0,0 +1,27 @@
|
||||
apiVersion: tekton.dev/v1
|
||||
kind: Task
|
||||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/version: "0.1"
|
||||
name: syft
|
||||
spec:
|
||||
description: CLI tool and library for generating a Software Bill of Materials from
|
||||
container images and filesystems
|
||||
params:
|
||||
- description: The Arguments to be passed to Syft command.
|
||||
name: ARGS
|
||||
type: array
|
||||
- default: docker.io/anchore/syft:v0.93.0
|
||||
description: Syft image to be used
|
||||
name: SYFT_IMAGE
|
||||
type: string
|
||||
steps:
|
||||
- args:
|
||||
- $(params.ARGS)
|
||||
computeResources: {}
|
||||
image: $(params.SYFT_IMAGE)
|
||||
name: syft
|
||||
workingDir: $(workspaces.source-dir.path)
|
||||
workspaces:
|
||||
- name: source-dir
|
||||
optional: true
|
||||
Reference in New Issue
Block a user