mirror of
https://github.com/anchore/syft.git
synced 2026-10-30 14:02:26 +01:00
Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1a8caa2665 |
@@ -2,18 +2,18 @@ version: "3"
|
|||||||
|
|
||||||
vars:
|
vars:
|
||||||
CPE_CACHE_DIR: "syft/pkg/cataloger/internal/cpegenerate/dictionary/index-generator/.cpe-cache"
|
CPE_CACHE_DIR: "syft/pkg/cataloger/internal/cpegenerate/dictionary/index-generator/.cpe-cache"
|
||||||
CPE_CACHE_REGISTRY: "ghcr.io/anchore/syft/cpe-cache:latest"
|
CPE_CACHE_REGISTRY: '{{env "CPE_CACHE_REGISTRY" | default "ghcr.io/anchore/syft/cpe-cache:latest"}}'
|
||||||
CPE_INDEX_OUTPUT: "syft/pkg/cataloger/internal/cpegenerate/dictionary/data/cpe-index.json"
|
CPE_INDEX_OUTPUT: "syft/pkg/cataloger/internal/cpegenerate/dictionary/data/cpe-index.json"
|
||||||
CPE_GENERATOR_DIR: "syft/pkg/cataloger/internal/cpegenerate/dictionary/index-generator"
|
CPE_GENERATOR_DIR: "syft/pkg/cataloger/internal/cpegenerate/dictionary/index-generator"
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
cache:pull:
|
cache:pull:
|
||||||
desc: Pull CPE cache from ORAS registry (ghcr.io/anchore/syft/cpe-cache:latest)
|
desc: Pull CPE cache from ORAS registry
|
||||||
# deps: [tools]
|
# deps: [tools]
|
||||||
cmds:
|
cmds:
|
||||||
- cmd: |
|
- cmd: |
|
||||||
set -eu
|
set -eu
|
||||||
echo "Pulling CPE cache from ORAS registry..."
|
echo "Pulling CPE cache from {{ .CPE_CACHE_REGISTRY }}..."
|
||||||
mkdir -p {{ .CPE_CACHE_DIR }}
|
mkdir -p {{ .CPE_CACHE_DIR }}
|
||||||
|
|
||||||
# pull compressed files from ORAS
|
# pull compressed files from ORAS
|
||||||
|
|||||||
Reference in New Issue
Block a user