Skip to content
Merged
Show file tree
Hide file tree
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
36 changes: 18 additions & 18 deletions .github/workflows/patched.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: "aws-lambda-ruby-patched:3.2"
on:
pull_request:
paths:
- "./Dockerfile-ruby3.2-patched"
- "Dockerfile-ruby3.2-patched"

jobs:
build-and-push:
Expand Down Expand Up @@ -31,22 +31,22 @@ jobs:
uses: docker/build-push-action@v6
with:
context: .
file: ./bigquery/Dockerfile4parquet
file: ./Dockerfile-ruby3.2-patched
push: true
platforms: linux/amd64,linux/arm64
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/${{ inputs.job-name }}
- name: Scan
id: scan
uses: anchore/scan-action@v6
continue-on-error: true
with:
image: ${{ secrets.DOCKER_HUB_USERNAME }}/${{ inputs.job-name }}
fail-build: true
output-format: sarif
severity-cutoff: low
add-cpes-if-none: true
- name: Update PR with vulnerability scan results
uses: forward3d/[email protected]
with:
report: ${{ steps.scan.outputs.sarif }}
image-name: ${{ inputs.job-name }}
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/aws-lambda-ruby-patched:3.2
# - name: Scan
# id: scan
# uses: anchore/scan-action@v6
# continue-on-error: true
# with:
# image: ${{ secrets.DOCKER_HUB_USERNAME }}/aws-lambda-ruby-patched:3.2
# fail-build: true
# output-format: sarif
# severity-cutoff: low
# add-cpes-if-none: true
# - name: Update PR with vulnerability scan results
# uses: forward3d/[email protected]
# with:
# report: ${{ steps.scan.outputs.sarif }}
# image-name: aws-lambda-ruby-patched:3.2
2 changes: 1 addition & 1 deletion Dockerfile-ruby3.2-patched
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# GoBuilder
# Go Builder
# Use an official Go image that has the security fix (>=1.24.6).
# We use -alpine to keep the builder stage small and fast.
#
Expand Down