mirror of
https://github.com/anchore/syft.git
synced 2026-11-01 15:06:36 +01:00
Add the ability to run syft from a scratch image.
This change will allow endusers or CI to run syft from a minimum image which will simplify CI deployment. Signed-off-by: Toure Dunnon <toure.dunnon@anchore.com>
This commit is contained in:
@@ -47,6 +47,22 @@ builds:
|
||||
-X github.com/anchore/syft/internal/version.buildDate={{.Date}}
|
||||
-X github.com/anchore/syft/internal/version.gitTreeState={{.Env.BUILD_GIT_TREE_STATE}}
|
||||
|
||||
dockers:
|
||||
-
|
||||
# Docker image name and tags
|
||||
image_templates:
|
||||
- "anchore/syft:latest"
|
||||
- "anchore/syft:{{ .Version }}"
|
||||
- "anchore/syft:{{ .Major }}.{{ .Minor }}"
|
||||
- "anchore/syft:{{ .Major }}"
|
||||
|
||||
# name of binary to release.
|
||||
binaries:
|
||||
- syft
|
||||
|
||||
# path to Dockerfile.
|
||||
dockerfile: Dockerfile
|
||||
|
||||
archives:
|
||||
- format: tar.gz
|
||||
builds:
|
||||
|
||||
Reference in New Issue
Block a user