Skip to content

Commit

Permalink
Pass upwind-client-secret manually
Browse files Browse the repository at this point in the history
  • Loading branch information
timdittler committed Oct 17, 2024
1 parent 03cca12 commit 8117b93
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/template_gitops.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ on:
required: false
private-key:
required: false
upwind-client-secret:
required: false

jobs:
gitops:
Expand Down Expand Up @@ -134,9 +136,10 @@ jobs:
- name: Emit Image Build Event to Upwind.io
if: ${{ vars.UPWIND_CLIENT_ID != '' && vars.UPWIND_ORGANIZATION_ID != '' }}
uses: upwindsecurity/create-image-build-event-action@v2
secrets: inherit
with:
image: "${{ inputs.docker-image }}"
image_sha: "${{ steps.gitops.outputs.docker-digest }}"
upwind_client_id: ${{ vars.UPWIND_CLIENT_ID }}
upwind_client_secret: ${{ secrets.UPWIND_CLIENT_SECRET }}
upwind_client_secret: ${{ secrets.upwind-client-secret }}
upwind_organization_id: ${{ vars.UPWIND_ORGANIZATION_ID }}

0 comments on commit 8117b93

Please sign in to comment.