From 857859446df6f9f39a072e6512a7c415aabaf801 Mon Sep 17 00:00:00 2001 From: Tim Dittler Date: Wed, 16 Oct 2024 14:04:55 +0200 Subject: [PATCH] Emit image build event to Upwind.io --- action.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/action.yml b/action.yml index 76c4452..b6d55cf 100644 --- a/action.yml +++ b/action.yml @@ -293,6 +293,16 @@ runs: done <<< "${{ inputs.gitops-dev }}" fi + - name: Emit Image Build Event to Upwind.io + if: vars.UPWIND_CLIENT_ID != '' && secrets.UPWIND_CLIENT_SECRET != '' && vars.UPWIND_ORGANIZATION_ID != '' + uses: upwindsecurity/create-image-build-event-action@v2 + with: + image: "${{ inputs.docker-image }}" + image_sha: "${{ steps.docker_build.outputs.digest }}" + upwind_client_id: ${{ vars.UPWIND_CLIENT_ID }} + upwind_client_secret: ${{ secrets.UPWIND_CLIENT_SECRET }} + upwind_organization_id: ${{ vars.UPWIND_ORGANIZATION_ID }} + branding: icon: 'git-merge' color: 'blue'