Skip to content

Commit

Permalink
add extra comment
Browse files Browse the repository at this point in the history
  • Loading branch information
DaMandal0rian committed Feb 20, 2025
1 parent 5f6db65 commit a6963d2
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/snyk-security-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

# we can just scan the images, but we are building the image and scanning from the Dockerfile as it can be more accurate and find more obscured vulnerabilities than simply scanning the pre-built image.
# See https://docs.snyk.io/scan-with-snyk/snyk-container/use-snyk-container/detect-the-container-base-image#how-snyk-container-identifies-base-images
- name: Build Farmer Docker image
run: docker build -t autonomys/farmer:snyk -f docker/farmer.Dockerfile .

Expand Down Expand Up @@ -46,6 +47,8 @@ jobs:
sarif_file: snyk.sarif
category: snyk-farmer-image

# we can just scan the images, but we are building the image and scanning from the Dockerfile as it can be more accurate and find more obscured vulnerabilities than simply scanning the pre-built image.
# See https://docs.snyk.io/scan-with-snyk/snyk-container/use-snyk-container/detect-the-container-base-image#how-snyk-container-identifies-base-images
- name: Build Node Docker image
run: docker build -t autonomys/node:snyk -f docker/node.Dockerfile .

Expand Down Expand Up @@ -74,6 +77,8 @@ jobs:
sarif_file: snyk.sarif
category: snyk-node-image

# we can just scan the images, but we are building the image and scanning from the Dockerfile as it can be more accurate and find more obscured vulnerabilities than simply scanning the pre-built image.
# See https://docs.snyk.io/scan-with-snyk/snyk-container/use-snyk-container/detect-the-container-base-image#how-snyk-container-identifies-base-images
- name: Build Bootstrap node Docker image
run: docker build -t autonomys/bootstrap-node:snyk -f docker/bootstrap-node.Dockerfile .

Expand Down Expand Up @@ -102,6 +107,8 @@ jobs:
sarif_file: snyk.sarif
category: snyk-bootstrap-node-image

# we can just scan the images, but we are building the image and scanning from the Dockerfile as it can be more accurate and find more obscured vulnerabilities than simply scanning the pre-built image.
# See https://docs.snyk.io/scan-with-snyk/snyk-container/use-snyk-container/detect-the-container-base-image#how-snyk-container-identifies-base-images
- name: Build Gateway Docker image
run: docker build -t autonomys/gateway:snyk -f docker/gateway.Dockerfile .

Expand Down

0 comments on commit a6963d2

Please sign in to comment.