Skip to content

Commit

Permalink
feat(scan-images): support passing in environment to use
Browse files Browse the repository at this point in the history
  • Loading branch information
stempler committed Jun 25, 2024
1 parent e2ca84d commit 5de883d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/scan-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ on:
type: string
required: false
default: ''
environment:
description: 'GitHub repository environment to use (to access variables)'
type: string
default: ''
secrets:
# GH_PAT:
# required: true
Expand All @@ -52,6 +56,7 @@ on:
jobs:
scan:
runs-on: ubuntu-latest
environment: ${{ inputs.environment }}

strategy:
fail-fast: false # scan all images
Expand Down

0 comments on commit 5de883d

Please sign in to comment.