Skip to content

Commit

Permalink
updates postgresql workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
timbastin committed Feb 3, 2025
1 parent 020af2f commit 0fd22fc
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/postgresql.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Create and publish the custom postgresql Docker image
name: DevGuard PostgreSQL Workflow

on:
push:
Expand Down Expand Up @@ -30,14 +30,14 @@ jobs:
secrets:
devguard-token: ${{ secrets.DEVGUARD_TOKEN }}

deploy-scanner:
deploy:
needs:
- build-image
- container-scanning
uses: l3montree-dev/devguard-action/.github/workflows/deploy.yml@main
with:
artifact-suffix: "-scanner"
image-suffix: "-scanner"
artifact-suffix: "-postgresql"
image-suffix: "-postgresql"
asset-name: l3montree-cybersecurity/projects/devguard/assets/devguard-postgresql
api-url: https://api.main.devguard.org
secrets:
Expand All @@ -52,6 +52,7 @@ jobs:
with:
asset-name: l3montree-cybersecurity/projects/devguard/assets/devguard-postgresql
api-url: https://api.main.devguard.org
artifact-suffix: "-postgresql"
secrets:
devguard-token: ${{ secrets.DEVGUARD_TOKEN }}
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/')

0 comments on commit 0fd22fc

Please sign in to comment.