Update public.ecr.aws/aws-cli/aws-cli Docker tag to v2.23.0 #33
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Validate Charts | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
workflow_dispatch: | |
permissions: read-all | |
jobs: | |
scan: | |
runs-on: ubuntu-latest | |
permissions: | |
security-events: write | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Run checkov | |
uses: bridgecrewio/checkov-action@v12 | |
id: checkov | |
with: | |
output_format: cli,sarif | |
output_file_path: console,results.sarif | |
var_file: test/dummy-vars.yaml | |
env: | |
HELM_NAMESPACE: dummy-ns | |
continue-on-error: true | |
- name: Upload SARIF file | |
uses: github/codeql-action/upload-sarif@v3 | |
with: | |
sarif_file: results.sarif | |
- name: Report failure | |
if: steps.checkov.outcome == 'failure' | |
run: | | |
echo "The checkov scan resulted in failure. See the output of the above step." | |
exit 1 |