Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Commit

Permalink
Remove CVE checks (see readme)
Browse files Browse the repository at this point in the history
Signed-off-by: Timo Reichl <[email protected]>
  • Loading branch information
thetredev committed Apr 10, 2023
1 parent 0eeb015 commit 3f1d829
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 105 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Reusable workflow for building and scanning images
name: Reusable workflow for building and pushing images

on:
workflow_call:
Expand Down Expand Up @@ -35,57 +35,6 @@ jobs:
docker-compose build ${docker_base_image_type}
done
- name: Trivy CVE scan - base
if: ${{ inputs.push }}
uses: aquasecurity/[email protected]
with:
image-ref: "${{ env.REGISTRY_IMAGE }}:base"
format: 'table'
exit-code: '1'
severity: 'CRITICAL,HIGH,MEDIUM,LOW'

- name: Dockle scan - base
if: ${{ inputs.push }}
uses: erzz/[email protected]
with:
image: "${{ env.REGISTRY_IMAGE }}:base"
exit-code: '1'
dockle-version: '0.4.5'

- name: Trivy CVE scan - hlds
if: ${{ inputs.push }}
uses: aquasecurity/[email protected]
with:
image-ref: "${{ env.REGISTRY_IMAGE }}:hlds"
format: 'table'
exit-code: '1'
severity: 'CRITICAL,HIGH,MEDIUM,LOW'

- name: Dockle scan - hlds
if: ${{ inputs.push }}
uses: erzz/[email protected]
with:
image: "${{ env.REGISTRY_IMAGE }}:hlds"
exit-code: '1'
dockle-version: '0.4.5'

- name: Trivy CVE scan - srcds
if: ${{ inputs.push }}
uses: aquasecurity/[email protected]
with:
image-ref: "${{ env.REGISTRY_IMAGE }}:srcds"
format: 'table'
exit-code: '1'
severity: 'CRITICAL,HIGH,MEDIUM,LOW'

- name: Dockle scan - srcds
if: ${{ inputs.push }}
uses: erzz/[email protected]
with:
image: "${{ env.REGISTRY_IMAGE }}:srcds"
exit-code: '1'
dockle-version: '0.4.5'

- name: Log in to GHCR
if: ${{ inputs.push || inputs.tag }}
uses: docker/login-action@v2
Expand Down
32 changes: 0 additions & 32 deletions .github/workflows/cve-scan.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
build-scan:
uses: thetredev/steamcmd/.github/workflows/build-scan-push-tag.yml@main
uses: thetredev/steamcmd/.github/workflows/build-push-tag.yml@main
with:
push: false
tag: false
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
push:
uses: thetredev/steamcmd/.github/workflows/build-scan-push-tag.yml@main
uses: thetredev/steamcmd/.github/workflows/build-push-tag.yml@main
with:
push: true
tag: false
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
tag:
uses: thetredev/steamcmd/.github/workflows/build-scan-push-tag.yml@main
uses: thetredev/steamcmd/.github/workflows/build-push-tag.yml@main
with:
push: false
tag: true
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ The GitHub Actions workflows are setup in the following way:
- Pushes to the `main` branch lead to the image tags `ghcr.io/thetredev/steamcmd:<image>-latest`, where `<image>` is one of the following: `base`, `hlds` or `srcds` (see *the supported game server images* above)
- Pushes of tags lead to retagging the `ghcr.io/thetredev/steamcmd:<image>-latest` images to `ghcr.io/thetredev/steamcmd:<image>-<tag>`

All image builds are scanned for CVEs and only pushed as `latest` or the given tag if no CVEs are found. The scans can be viewed publicly [from within the Actions tab](https://github.com/thetredev/steamcmd/actions) at job **build**.
All image builds used to be scanned for CVEs and only pushed as `latest` or the given tag if no CVEs are found. These scans have been removed and/or disabled since we're relying on official Steam Runtime images now (commit [a64d5003ac8d84eccc6326bc8270eef1105745e0](https://github.com/thetredev/steamcmd/tree/a64d5003ac8d84eccc6326bc8270eef1105745e0)) and we simply trust Valve to make the base images as secure as possible.

## Known bugs
See the [project issues](https://github.com/thetredev/steamcmd/issues).
Expand Down
17 changes: 0 additions & 17 deletions scan-local.sh

This file was deleted.

0 comments on commit 3f1d829

Please sign in to comment.