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'