mirror of
https://gitlab.durp.info/durfy/ci-includes/yml.git
synced 2026-05-07 07:50:30 -05:00
update
This commit is contained in:
parent
dc9b8c2a6f
commit
7efb408637
4 changed files with 13 additions and 4 deletions
|
|
@ -6,8 +6,6 @@ stages:
|
||||||
variables:
|
variables:
|
||||||
GO_VERSION: "1.22"
|
GO_VERSION: "1.22"
|
||||||
GOLANGCI_LINT_VERISON: "v1.58.0"
|
GOLANGCI_LINT_VERISON: "v1.58.0"
|
||||||
SYFT_VERSION: "v1.3.0"
|
|
||||||
GRYPE_VERSION: "v0.77.2"
|
|
||||||
|
|
||||||
include:
|
include:
|
||||||
- project: 'developerdurp/yml'
|
- project: 'developerdurp/yml'
|
||||||
|
|
|
||||||
4
scripts/scanner/grype-install.sh
Normal file
4
scripts/scanner/grype-install.sh
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
#%%MULTILINE_YAML_START
|
||||||
|
#Syft install
|
||||||
|
nix-shell -p grype
|
||||||
4
scripts/scanner/syft-install.sh
Normal file
4
scripts/scanner/syft-install.sh
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
#%%MULTILINE_YAML_START
|
||||||
|
#Syft install
|
||||||
|
nix-shell -p syft
|
||||||
|
|
@ -1,15 +1,18 @@
|
||||||
.generate_sbom:
|
.generate_sbom:
|
||||||
image: registry.internal.durp.info/anchore/syft:${SYFT_VERSION}
|
image: registry.internal.durp.info/nixos/nix:latest
|
||||||
script:
|
script:
|
||||||
|
- ./scripts/scanner/syft-install.sh
|
||||||
- ./scripts/scanner/syft-mkdir.sh
|
- ./scripts/scanner/syft-mkdir.sh
|
||||||
|
- ./scripts/scanner/syft-go.sh
|
||||||
artifacts:
|
artifacts:
|
||||||
expire_in: 1 hour
|
expire_in: 1 hour
|
||||||
paths:
|
paths:
|
||||||
- $CI_PROJECT_DIR/syft
|
- $CI_PROJECT_DIR/syft
|
||||||
|
|
||||||
.generate_cve:
|
.generate_cve:
|
||||||
image: registry.internal.durp.info/anchore/grype:${GRYPE_VERSION}
|
image: registry.internal.durp.info/nixos/nix:latest
|
||||||
script:
|
script:
|
||||||
|
- ./scripts/scanner/grype-install.sh
|
||||||
- ./scripts/scanner/grype.sh
|
- ./scripts/scanner/grype.sh
|
||||||
artifacts:
|
artifacts:
|
||||||
expire_in: 1 hour
|
expire_in: 1 hour
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue