mirror of
https://github.com/anchore/syft.git
synced 2025-11-17 08:23:15 +01:00
40 lines
1.3 KiB
YAML
40 lines
1.3 KiB
YAML
|
|
dockers:
|
|
- image_templates:
|
|
- "anchore/syft:latest"
|
|
- "anchore/syft:{{ .Tag }}-amd64"
|
|
- "anchore/syft:v{{ .Major }}-amd64"
|
|
- "anchore/syft:v{{ .Major }}.{{ .Minor }}-amd64"
|
|
dockerfile: Dockerfile
|
|
use: buildx
|
|
build_flag_templates:
|
|
- "--platform=linux/amd64"
|
|
- "--build-arg=BUILD_DATE={{.Date}}"
|
|
- "--build-arg=BUILD_VERSION={{.Version}}"
|
|
- "--build-arg=VCS_REF={{.FullCommit}}"
|
|
- "--build-arg=VCS_URL={{.GitURL}}"
|
|
|
|
- image_templates:
|
|
- "anchore/syft:{{ .Tag }}-arm64v8"
|
|
- "anchore/syft:v{{ .Major }}-arm64v8"
|
|
- "anchore/syft:v{{ .Major }}.{{ .Minor }}-arm64v8"
|
|
goarch: arm64
|
|
dockerfile: Dockerfile
|
|
use: buildx
|
|
build_flag_templates:
|
|
- "--platform=linux/arm64/v8"
|
|
- "--build-arg=BUILD_DATE={{.Date}}"
|
|
- "--build-arg=BUILD_VERSION={{.Version}}"
|
|
- "--build-arg=VCS_REF={{.FullCommit}}"
|
|
- "--build-arg=VCS_URL={{.GitURL}}"
|
|
|
|
docker_manifests:
|
|
- name_template: anchore/syft:{{ .Tag }}
|
|
image_templates:
|
|
- anchore/syft:v{{ .Major }}.{{ .Minor }}-amd64
|
|
- anchore/syft:v{{ .Major }}.{{ .Minor }}-arm64v8
|
|
- name_template: anchore/syft:latest
|
|
image_templates:
|
|
- anchore/syft:v{{ .Major }}.{{ .Minor }}-amd64
|
|
- anchore/syft:v{{ .Major }}.{{ .Minor }}-arm64v8
|