Skip to content

Commit

Permalink
refactor: remove artifact upload from nightly-vulnerabiliy-scan.yml (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
aaron-prindle authored Feb 27, 2024
1 parent 8009be9 commit 266aafd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ jobs:
- warmer

include:


- image: executor
target: kaniko-executor
platforms: linux/amd64,linux/arm64,linux/s390x,linux/ppc64le
Expand Down Expand Up @@ -64,7 +66,7 @@ jobs:

# Setup auth if not a PR.
- if: github.event_name != 'pull_request'
uses: google-github-actions/auth@55bd3a7c6e2ae7cf1877fd1ccb9d54c0503c457c # v2.1.2
uses: google-github-actions/auth@a6e2e39c0a0331da29f7fd2c2a20a427e8d3ad1f # v2.1.1
with:
credentials_json: '${{ secrets.GCR_DEVOPS_SERVICE_ACCOUNT_KEY }}'
export_environment_variables: true
Expand Down
7 changes: 0 additions & 7 deletions .github/workflows/nightly-vulnerability-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,5 @@ jobs:
if grep -q 'No vulnerabilities found' grype-output.txt; then
echo "No vulnerabilities found."
else
# Create a GitHub issue using GitHub CLI or another method
gh issue create --title "Vulnerabilities Found in Nightly Scan" --body "Vulnerabilities found in the latest image scan. Please check the attached report." --file grype-output.txt
fi
- name: Upload scan result as artifact (optional)
uses: actions/upload-artifact@v2
with:
name: grype-scan-report
path: grype-output.txt

0 comments on commit 266aafd

Please sign in to comment.