Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump docker/build-push-action from 5.1.0 to 5.3.0 #73

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}

- name: Build and push Docker image
uses: docker/build-push-action@4a13e500e55cf31b7a5d59a38ab2040ab0f42f56
uses: docker/build-push-action@2cdde995de11925a030ce8070c3d77a52ffcf1c0
with:
context: .
push: true
Expand All @@ -44,7 +44,7 @@

# https://github.com/marketplace/actions/kics-github-action
- name: run kics Scan
uses: checkmarx/[email protected]

Check warning on line 47 in .github/workflows/docker-image.yml

View workflow job for this annotation

GitHub Actions / build-and-push-image

[MEDIUM] Unpinned Actions Full Length Commit SHA

Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps mitigate the risk of a bad actor adding a backdoor to the action's repository, as they would need to generate a SHA-1 collision for a valid Git object payload. When selecting a SHA, you should verify it is from the action's repository and not a repository fork.
with:
path: '.'
output_path: 'target'
Expand All @@ -64,7 +64,7 @@

# https://github.com/marketplace/actions/aqua-security-trivy
- name: Run Trivy vulnerability scanner - table
uses: aquasecurity/trivy-action@master

Check warning on line 67 in .github/workflows/docker-image.yml

View workflow job for this annotation

GitHub Actions / build-and-push-image

[MEDIUM] Unpinned Actions Full Length Commit SHA

Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps mitigate the risk of a bad actor adding a backdoor to the action's repository, as they would need to generate a SHA-1 collision for a valid Git object payload. When selecting a SHA, you should verify it is from the action's repository and not a repository fork.
with:
image-ref: '${{ steps.meta.outputs.tags }}'
format: 'table'
Expand Down
Loading