Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: remove artifact upload from nightly-vulnerabiliy-scan.yml #3029

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading