Skip to content

Commit

Permalink
chore: added code for scan Image
Browse files Browse the repository at this point in the history
  • Loading branch information
SwatiEY committed Jun 12, 2024
1 parent 814d6e7 commit 13d08b0
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion .github/workflows/release-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Release updated
on:
push:
branches:
- swati/updates
- swati/updateImages

jobs:
release:
Expand Down Expand Up @@ -41,3 +41,22 @@ jobs:
# username: ${{ github.actor }}
# password: ${{ secrets.GITHUB_TOKEN }}
push: true

ScanImage:
name: Aquasec scan
runs-on: ubuntu-latest
needs: [BuildDockerImage]
steps:
- name: Trigger Aquascan Image Scan
uses: convictional/[email protected]
with:
owner: ${{ github.repository_owner }}
repo: saas-platform-iac-automation
github_token: ${{ secrets.GPR_TOKEN_WITH_WORKFLOW_RIGHT }}
workflow_file_name: image-scan-workflow.yml
ref: master
wait_interval: 11
propagate_failure: true
trigger_workflow: true
wait_workflow: true
client_payload: '{"image": "${{ secrets.GHCR_REGISTRY }}/eyblockchain/ocm-timber:latest"}'

0 comments on commit 13d08b0

Please sign in to comment.