Feature/integrate docker scout with git hub actions #564
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Ticket(s)
Closes #510
Description
This PR introduces a new GitHub Actions workflow titled "Vulnerability Comparison." The workflow is designed to build a Docker image for each pull request and perform a vulnerability comparison using Docker Scout.
Additionally, this PR upgrades the Git version from 2.45.1-r0 to 2.45.2-r0 in the Dockerfile.
Git Version Upgrade
The Git version has been upgraded from
2.45.1-r0
to2.45.2-r0
. The previous version2.45.1-r0
was not available ingolang:1.22-alpine3.20
, necessitating this upgrade.Workflow Details
IMAGE_NAME
: The name of the Docker image repository (derived from the GitHub repository).SHA
: The SHA of the commit to build the Docker image from.vulnerability-comparison
:ubuntu-latest