From f0d2e3217e96f668cab22ed4f6a1d2973c4a0973 Mon Sep 17 00:00:00 2001 From: rajapandi1234 <138785181+rajapandi1234@users.noreply.github.com> Date: Wed, 23 Oct 2024 13:16:47 +0530 Subject: [PATCH] Update push-trigger.yml Signed-off-by: rajapandi1234 <138785181+rajapandi1234@users.noreply.github.com> --- .github/workflows/push-trigger.yml | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/.github/workflows/push-trigger.yml b/.github/workflows/push-trigger.yml index 139edf8ff36..3e18f30dfba 100644 --- a/.github/workflows/push-trigger.yml +++ b/.github/workflows/push-trigger.yml @@ -207,4 +207,22 @@ jobs: OSSRH_SECRET: ${{ secrets.OSSRH_SECRET }} OSSRH_TOKEN: ${{ secrets.OSSRH_TOKEN }} GPG_SECRET: ${{ secrets.GPG_SECRET }} - SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }} \ No newline at end of file + SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }} + + trivy-scan: + needs: + - build-dockers + - build-dockers_apitest_masterdata + + uses: mosip/kattu/.github/workflows/trivy.yml@develop + strategy: + matrix: + include: + - SERVICE_NAME: 'admin-service' + - SERVICE_NAME: 'hotlist-service' + - SERVICE_NAME: 'kernel-masterdata-service' + - SERVICE_NAME: 'kernel-syncdata-service' + + with: + service_name: ${{ matrix.SERVICE_NAME }} + version: $'{{ github.ref_name }}'