Skip to content

Commit 3da0a07

Browse files
committed
chore(.ai): add commands to build local scanner images and update quick reference
1 parent a8ea1fd commit 3da0a07

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

.ai/workflows.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,14 @@ contributor_workflows:
179179
- action: "Install Argus CLI in editable mode"
180180
command: "pip install -e ."
181181

182+
- action: "Build local scanner images (when branch images are not published yet)"
183+
command: |
184+
docker build -f docker/Dockerfile.bandit -t ghcr.io/huntridge-labs/argus/scanner-bandit:1.0.0 .
185+
docker build -f docker/Dockerfile.opengrep -t ghcr.io/huntridge-labs/argus/scanner-opengrep:1.0.0 .
186+
docker build -f docker/Dockerfile.supply-chain -t ghcr.io/huntridge-labs/argus/scanner-supply-chain:1.0.0 .
187+
docker build -f docker/Dockerfile.cli -t ghcr.io/huntridge-labs/argus/cli:1.0.0 .
188+
note: "Only required if `argus scan` cannot pull custom ghcr.io/huntridge-labs/argus images."
189+
182190
- action: "Run tests to verify setup"
183191
command: "pytest"
184192
alternative: "Use Dev Container (recommended)"
@@ -292,6 +300,7 @@ quick_reference:
292300
lint: "npm run lint"
293301
release: "npm run release"
294302
format: "npm run format"
303+
build_custom_images: "docker build -f docker/Dockerfile.bandit -t ghcr.io/huntridge-labs/argus/scanner-bandit:1.0.0 . && docker build -f docker/Dockerfile.opengrep -t ghcr.io/huntridge-labs/argus/scanner-opengrep:1.0.0 . && docker build -f docker/Dockerfile.supply-chain -t ghcr.io/huntridge-labs/argus/scanner-supply-chain:1.0.0 . && docker build -f docker/Dockerfile.cli -t ghcr.io/huntridge-labs/argus/cli:1.0.0 ."
295304
docsite_validate: "cd scripts && python -m docsite --validate"
296305
docsite_build: "cd scripts && python -m docsite --output-dir /tmp/argus-docs"
297306
docsite_preview: "cd scripts && python -m docsite --output-dir /tmp/argus-docs && cd /tmp/argus-docs && mkdocs serve"

0 commit comments

Comments
 (0)