File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -75,6 +75,15 @@ inputs:
7575 gitops-prod :
7676 description : ' Files which should be updated by the GitHub Action for PROD'
7777 required : false
78+ upwind-client-id :
79+ description : ' Upwind Client ID'
80+ required : false
81+ upwind-organization-id :
82+ description : ' Upwind Organization ID'
83+ required : false
84+ upwind-client-secret :
85+ description : ' Upwind Client Secret'
86+ required : false
7887 working-directory :
7988 description : ' The path relative to the repo root dir in which the GitOps action should be executed.'
8089 required : false
@@ -300,6 +309,19 @@ runs:
300309 done <<< "${{ inputs.gitops-dev }}"
301310 fi
302311
312+ - name : Emit Image Build Event to Upwind.io
313+ env :
314+ UPWIND_CLIENT_SECRET : ${{ inputs.upwind-client-secret }}
315+ if : " ${{ inputs.upwind-client-id != '' && env.UPWIND_CLIENT_SECRET != '' && inputs.upwind-organization-id != '' }}"
316+ uses : upwindsecurity/create-image-build-event-action@v2
317+ continue-on-error : true
318+ with :
319+ image : ${{ inputs.docker-image }}
320+ image_sha : ${{ steps.docker_build.outputs.digest || steps.docker_retag.outputs.digest }}
321+ upwind_client_id : ${{ inputs.upwind-client-id }}
322+ upwind_client_secret : ${{ env.UPWIND_CLIENT_SECRET }}
323+ upwind_organization_id : ${{ inputs.upwind-organization-id }}
324+
303325branding :
304326 icon : ' git-merge'
305327 color : ' blue'
You can’t perform that action at this time.
0 commit comments