File tree Expand file tree Collapse file tree 4 files changed +15
-10
lines changed Expand file tree Collapse file tree 4 files changed +15
-10
lines changed Original file line number Diff line number Diff line change @@ -30,22 +30,26 @@ jobs:
3030 runs-on : ubuntu-latest
3131 steps :
3232 - uses : actions/checkout@v1
33+ - name : Set up QEMU
34+ uses : docker/setup-qemu-action@v1
3335 - name : Build
3436 shell : bash
35- run : make build
37+ run : make build && make build-arm64
3638 - name : Test
37- run : make test
39+ run : make test
3840 publish :
3941 needs : [scan, test]
4042 if : github.repository == 'rust-serverless/lambda-rust'
4143 runs-on : ubuntu-latest
4244 steps :
4345 - uses : actions/checkout@v1
46+ - name : Set up QEMU
47+ uses : docker/setup-qemu-action@v1
4448 - name : Build
4549 shell : bash
46- run : make build
50+ run : make build && make build-arm64
4751 - name : Publish Latest
4852 shell : bash
4953 run : |
5054 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:
2121 runs-on : ubuntu-latest
2222 steps :
2323 - uses : actions/checkout@v1
24+ - name : Set up QEMU
25+ uses : docker/setup-qemu-action@v1
2426 - name : Build
2527 shell : bash
26- run : make build
28+ run : make build && make build-arm64
2729 - name : Publish
2830 shell : bash
2931 run : |
3032 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 99 test :
1010 runs-on : ubuntu-latest
1111 steps :
12- -
13- name : Set up QEMU
12+ - name : Set up QEMU
1413 uses : docker/setup-qemu-action@v1
1514 - uses : actions/checkout@v1
1615 - name : Build
17- run : make build-arm64
16+ run : make build && make build -arm64
1817 - name : Test
1918 run : make test
Original file line number Diff line number Diff line change 22
33# Directory of the integration test
44HERE=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " > /dev/null 2>&1 && pwd ) "
5- : " ${IMAGE:= rustserverless/ lambda-rust: latest-arm64 } "
5+ : " ${IMAGE:= rustserverless/ lambda-rust} "
66
77source " ${HERE} " /bashtest.sh
88
You can’t perform that action at this time.
0 commit comments