Skip to content

Commit 510c895

Browse files
authored
feature: Parquet image based on patched (#3)
* Specifies what Dockerfile is * gha: for AWS Lambda Ruby with Parquet * Uses f3ddevelopers/aws-lambda-ruby-patched:3.2
1 parent cf06b72 commit 510c895

2 files changed

Lines changed: 53 additions & 1 deletion

File tree

.github/workflows/parquet.yml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
name: "aws-lambda-ruby-parquet:3.2"
2+
3+
on:
4+
pull_request:
5+
paths:
6+
- "Dockerfile-ruby3.2-parquet"
7+
8+
jobs:
9+
build-and-push:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout code
13+
uses: actions/checkout@v4
14+
15+
- name: Set up QEMU (for emulation)
16+
uses: docker/setup-qemu-action@v3
17+
18+
- name: Set up Docker Buildx
19+
uses: docker/setup-buildx-action@v3
20+
with:
21+
driver: docker-container
22+
driver-opts: image=moby/buildkit:master
23+
24+
- name: Log in to Docker Hub Container Registry
25+
uses: docker/login-action@v3
26+
with:
27+
username: ${{ secrets.DOCKER_HUB_USERNAME }}
28+
password: ${{ secrets.DOCKER_HUB_PASSWORD }}
29+
30+
- name: Build and push Docker image
31+
uses: docker/build-push-action@v6
32+
with:
33+
context: .
34+
file: ./Dockerfile-ruby3.2-parquet
35+
push: true
36+
platforms: linux/amd64,linux/arm64
37+
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/aws-lambda-ruby-parquet: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-parquet: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-parquet:3.2

Dockerfile renamed to Dockerfile-ruby3.2-parquet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM public.ecr.aws/lambda/ruby:3.2
1+
FROM f3ddevelopers/aws-lambda-ruby-patched:3.2
22

33
RUN yum swap -y openssl-snapsafe-libs openssl-libs
44

0 commit comments

Comments
 (0)