Skip to content

Commit 716f0fb

Browse files
committed
Remove redundant scan and report jobs from Docker image workflow to streamline CI process
1 parent 41405b7 commit 716f0fb

File tree

1 file changed

+0
-26
lines changed

1 file changed

+0
-26
lines changed

.github/workflows/docker-image.yml

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,6 @@ jobs:
4040
password: ${{ secrets.DOCKERHUB_TOKEN }}
4141
- name: Build the Docker image
4242
run: docker build . --file Dockerfile --tag gopalsaini/wsi-slides-dzi-processor:latest
43-
44-
scan:
45-
runs-on: ubuntu-latest
46-
needs: build
47-
steps:
48-
- uses: actions/checkout@v4
49-
- name: Download Docker image (from build job)
50-
run: |
51-
docker pull gopalsaini/wsi-slides-dzi-processor:latest || true
5243
- name: Scan Docker image for vulnerabilities
5344
uses: docker/scout-action@v1
5445
with:
@@ -57,26 +48,9 @@ jobs:
5748
only-severities: critical,high
5849
sarif-file: scout-report.sarif
5950
continue-on-error: true
60-
61-
report:
62-
runs-on: ubuntu-latest
63-
needs: scan
64-
steps:
65-
- uses: actions/checkout@v4
6651
- name: Upload SARIF report
6752
uses: github/codeql-action/upload-sarif@v3
6853
with:
6954
sarif_file: scout-report.sarif
70-
71-
push:
72-
runs-on: ubuntu-latest
73-
needs: scan
74-
steps:
75-
- uses: actions/checkout@v4
76-
- name: Log in to Docker Hub
77-
uses: docker/login-action@v3
78-
with:
79-
username: ${{ secrets.DOCKERHUB_USERNAME }}
80-
password: ${{ secrets.DOCKERHUB_TOKEN }}
8155
- name: Push the Docker image
8256
run: docker push gopalsaini/wsi-slides-dzi-processor:latest

0 commit comments

Comments
 (0)