Skip to content

Commit

Permalink
Upload artifact v3 to v4
Browse files Browse the repository at this point in the history
Signed-off-by: noopur <[email protected]>
  • Loading branch information
noopurintel committed Jan 23, 2025
1 parent e0d60fd commit e3681f2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker-bench-security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
docker-bench-security | tee results/docker_bench_security_report.txt
- name: Upload Security Bench Report
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: docker_bench_security-report
path: results/docker_bench_security_report.txt
2 changes: 1 addition & 1 deletion .github/workflows/hadolint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
docker run -v ${PWD}/openfl-docker:/openfl-docker --rm -i hadolint/hadolint hadolint -t error /openfl-docker/Dockerfile.base
docker run -v ${PWD}/openfl-docker:/openfl-docker --rm -i hadolint/hadolint hadolint -t error -f json /openfl-docker/Dockerfile.base > hadolint_output.json
- name: Upload Hadolint JSON Report
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: hadolint-report
path: hadolint_output.json
8 changes: 4 additions & 4 deletions .github/workflows/trivy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
.
- name: Upload Code Vulnerability Scan Results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: trivy-code-report-json
path: trivy-code-results.json
Expand All @@ -74,7 +74,7 @@ jobs:
TRIVY_DB_REPOSITORY: 'ghcr.io/aquasecurity/trivy-db,public.ecr.aws/aquasecurity/trivy-db'

- name: Upload Docker Vulnerability Scan
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: trivy-docker-report-json
path: trivy-docker-results.json
Expand All @@ -91,7 +91,7 @@ jobs:
.
- name: Upload Code Vulnerability Scan Results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: trivy-code-spdx-report-json
path: trivy-code-spdx-results.json
Expand All @@ -110,7 +110,7 @@ jobs:
TRIVY_DB_REPOSITORY: 'ghcr.io/aquasecurity/trivy-db,public.ecr.aws/aquasecurity/trivy-db'

- name: Upload Docker Vulnerability Scan
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: trivy-docker-spdx-report-json
path: trivy-docker-spdx-results.json

0 comments on commit e3681f2

Please sign in to comment.