From 1a46570e20eae994daa1959242c7983ddd8b705f Mon Sep 17 00:00:00 2001 From: Swati Rawal Date: Wed, 12 Jun 2024 11:12:33 +0100 Subject: [PATCH] chore: added code for scan Image --- .github/workflows/release-update.yml | 32 ++++++++++++++-------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/release-update.yml b/.github/workflows/release-update.yml index 955814f..f2da94b 100644 --- a/.github/workflows/release-update.yml +++ b/.github/workflows/release-update.yml @@ -44,19 +44,19 @@ jobs: ScanImage: name: Aquasec scan - runs-on: ubuntu-latest - needs: [BuildDockerImage] - steps: - - name: Trigger Aquascan Image Scan - uses: convictional/trigger-workflow-and-wait@v1.6.1 - 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"}' + runs-on: ubuntu-latest + needs: [BuildDockerImage] + steps: + - name: Trigger Aquascan Image Scan + uses: convictional/trigger-workflow-and-wait@v1.6.1 + 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"}'