Skip to content

Commit cf06b72

Browse files
authored
Trigger GHA for patched (#2)
* Trigger GHA * gha: Adjusts the path for file * temp: ommit the scan for now * temp: hardcodes the image name * fix: corrects the Dockerfile name
1 parent 1de66f9 commit cf06b72

2 files changed

Lines changed: 19 additions & 19 deletions

File tree

.github/workflows/patched.yml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: "aws-lambda-ruby-patched:3.2"
33
on:
44
pull_request:
55
paths:
6-
- "./Dockerfile-ruby3.2-patched"
6+
- "Dockerfile-ruby3.2-patched"
77

88
jobs:
99
build-and-push:
@@ -31,22 +31,22 @@ jobs:
3131
uses: docker/build-push-action@v6
3232
with:
3333
context: .
34-
file: ./bigquery/Dockerfile4parquet
34+
file: ./Dockerfile-ruby3.2-patched
3535
push: true
3636
platforms: linux/amd64,linux/arm64
37-
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/${{ inputs.job-name }}
38-
- name: Scan
39-
id: scan
40-
uses: anchore/scan-action@v6
41-
continue-on-error: true
42-
with:
43-
image: ${{ secrets.DOCKER_HUB_USERNAME }}/${{ inputs.job-name }}
44-
fail-build: true
45-
output-format: sarif
46-
severity-cutoff: low
47-
add-cpes-if-none: true
48-
- name: Update PR with vulnerability scan results
49-
uses: forward3d/comment-failure-details@v1.0.0
50-
with:
51-
report: ${{ steps.scan.outputs.sarif }}
52-
image-name: ${{ inputs.job-name }}
37+
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/aws-lambda-ruby-patched:3.2
38+
# - name: Scan
39+
# id: scan
40+
# uses: anchore/scan-action@v6
41+
# continue-on-error: true
42+
# with:
43+
# image: ${{ secrets.DOCKER_HUB_USERNAME }}/aws-lambda-ruby-patched:3.2
44+
# fail-build: true
45+
# output-format: sarif
46+
# severity-cutoff: low
47+
# add-cpes-if-none: true
48+
# - name: Update PR with vulnerability scan results
49+
# uses: forward3d/comment-failure-details@v1.0.0
50+
# with:
51+
# report: ${{ steps.scan.outputs.sarif }}
52+
# image-name: aws-lambda-ruby-patched:3.2

Dockerfile-ruby3.2-patched

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# GoBuilder
1+
# Go Builder
22
# Use an official Go image that has the security fix (>=1.24.6).
33
# We use -alpine to keep the builder stage small and fast.
44
#

0 commit comments

Comments
 (0)