Skip to content

Commit

Permalink
Merge pull request #227 from l3montree-dev/fix/pipeline
Browse files Browse the repository at this point in the history
add secrets input to build job
  • Loading branch information
refoo0 authored Nov 26, 2024
2 parents c7dd6da + 7813240 commit 2bcf50c
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/devguard-scanner.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,23 @@ jobs:
# Docker image build job
build-image:
uses: l3montree-dev/devguard-action/.github/workflows/build-image.yml@main

with:
asset-name: l3montree-cybersecurity/projects/devguard/assets/devguard
api-url: https://api.main.devguard.org
secrets:
devguard-token: ${{ secrets.DEVGUARD_TOKEN }}

build-scanner-image:
uses: l3montree-dev/devguard-action/.github/workflows/build-image.yml@main
with:
image-suffix: "-scanner"
artifact-suffix: "-scanner"
context: .
dockerfile: Dockerfile.scanner
asset-name: l3montree-cybersecurity/projects/devguard/assets/devguard
api-url: https://api.main.devguard.org
secrets:
devguard-token: ${{ secrets.DEVGUARD_TOKEN }}

# Image scanning job to detect vulnerabilities in the built Docker image
container-scanning:
Expand Down

0 comments on commit 2bcf50c

Please sign in to comment.