File tree Expand file tree Collapse file tree 2 files changed +27
-1
lines changed Expand file tree Collapse file tree 2 files changed +27
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : dockerized-test
2
+
3
+ on :
4
+ push :
5
+ branches : [ main ]
6
+ pull_request :
7
+ branches : [ '*' ]
8
+
9
+ jobs :
10
+ build :
11
+ runs-on : ubuntu-latest
12
+ strategy :
13
+ matrix :
14
+ ruby_version : ['3.1', '3.2', '3.3']
15
+
16
+ steps :
17
+ - uses : actions/checkout@v3
18
+ - name : Set up ruby
19
+ uses : ruby/setup-ruby@v1
20
+ with :
21
+ ruby-version : ${{ matrix.ruby_version }}
22
+ - name : Build the lib
23
+ run : make build
24
+ - name : Build the image
25
+ run : docker build . -t local/test -f Dockerfile.test --build-arg BASE_IMAGE=public.ecr.aws/lambda/ruby:${{ matrix.ruby_version }}
Original file line number Diff line number Diff line change 1
- FROM public.ecr.aws/lambda/ruby:3.3
1
+ ARG BASE_IMAGE
2
+ FROM $BASE_IMAGE
2
3
ENV GEM_HOME=/var/runtime
3
4
RUN gem uninstall aws_lambda_ric --executables
4
5
ADD pkg /tmp/pkg
You can’t perform that action at this time.
0 commit comments