File tree 4 files changed +15
-10
lines changed
4 files changed +15
-10
lines changed Original file line number Diff line number Diff line change @@ -30,22 +30,26 @@ jobs:
30
30
runs-on : ubuntu-latest
31
31
steps :
32
32
- uses : actions/checkout@v1
33
+ - name : Set up QEMU
34
+ uses : docker/setup-qemu-action@v1
33
35
- name : Build
34
36
shell : bash
35
- run : make build
37
+ run : make build && make build-arm64
36
38
- name : Test
37
- run : make test
39
+ run : make test
38
40
publish :
39
41
needs : [scan, test]
40
42
if : github.repository == 'rust-serverless/lambda-rust'
41
43
runs-on : ubuntu-latest
42
44
steps :
43
45
- uses : actions/checkout@v1
46
+ - name : Set up QEMU
47
+ uses : docker/setup-qemu-action@v1
44
48
- name : Build
45
49
shell : bash
46
- run : make build
50
+ run : make build && make build-arm64
47
51
- name : Publish Latest
48
52
shell : bash
49
53
run : |
50
54
echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin
51
- make publish
55
+ make publish && make publish-arm64
Original file line number Diff line number Diff line change @@ -21,11 +21,13 @@ jobs:
21
21
runs-on : ubuntu-latest
22
22
steps :
23
23
- uses : actions/checkout@v1
24
+ - name : Set up QEMU
25
+ uses : docker/setup-qemu-action@v1
24
26
- name : Build
25
27
shell : bash
26
- run : make build
28
+ run : make build && make build-arm64
27
29
- name : Publish
28
30
shell : bash
29
31
run : |
30
32
echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin
31
- make publish-tag
33
+ make publish-tag && make publish-tag-arm64
Original file line number Diff line number Diff line change 9
9
test :
10
10
runs-on : ubuntu-latest
11
11
steps :
12
- -
13
- name : Set up QEMU
12
+ - name : Set up QEMU
14
13
uses : docker/setup-qemu-action@v1
15
14
- uses : actions/checkout@v1
16
15
- name : Build
17
- run : make build-arm64
16
+ run : make build && make build -arm64
18
17
- name : Test
19
18
run : make test
Original file line number Diff line number Diff line change 2
2
3
3
# Directory of the integration test
4
4
HERE=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " > /dev/null 2>&1 && pwd ) "
5
- : " ${IMAGE:= rustserverless/ lambda-rust: latest-arm64 } "
5
+ : " ${IMAGE:= rustserverless/ lambda-rust} "
6
6
7
7
source " ${HERE} " /bashtest.sh
8
8
You can’t perform that action at this time.
0 commit comments