File tree 2 files changed +16
-8
lines changed
2 files changed +16
-8
lines changed Original file line number Diff line number Diff line change @@ -16,23 +16,27 @@ jobs:
16
16
node-version : [14.x]
17
17
18
18
steps :
19
- - uses : actions/checkout@v2
19
+ - uses : actions/checkout@v3
20
+
21
+ - name : Set up QEMU
22
+ uses : docker/setup-qemu-action@v2
20
23
21
24
- name : Login to Docker Hub
22
- uses : docker/login-action@v1
25
+ uses : docker/login-action@v2
23
26
with :
24
27
username : ${{ secrets.DOCKER_HUB_USERNAME }}
25
28
password : ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
26
29
27
30
- name : Set up Docker Buildx
28
31
id : buildx
29
- uses : docker/setup-buildx-action@v1
32
+ uses : docker/setup-buildx-action@v2
30
33
31
34
- name : Build and push
32
35
id : docker_build
33
- uses : docker/build-push-action@v2
36
+ uses : docker/build-push-action@v4
34
37
with :
35
38
context : ./
36
39
file : ./Dockerfile
40
+ platforms : linux/amd64,linux/arm64
37
41
push : true
38
42
tags : jembi/openhim-core:latest
Original file line number Diff line number Diff line change @@ -15,26 +15,30 @@ jobs:
15
15
node-version : [14.x]
16
16
17
17
steps :
18
- - uses : actions/checkout@v2
18
+ - uses : actions/checkout@v3
19
+
20
+ - name : Set up QEMU
21
+ uses : docker/setup-qemu-action@v2
19
22
20
23
- name : Set env
21
24
run : echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
22
25
23
26
- name : Login to Docker Hub
24
- uses : docker/login-action@v1
27
+ uses : docker/login-action@v2
25
28
with :
26
29
username : ${{ secrets.DOCKER_HUB_USERNAME }}
27
30
password : ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
28
31
29
32
- name : Set up Docker Buildx
30
33
id : buildx
31
- uses : docker/setup-buildx-action@v1
34
+ uses : docker/setup-buildx-action@v2
32
35
33
36
- name : Build and push
34
37
id : docker_build
35
- uses : docker/build-push-action@v2
38
+ uses : docker/build-push-action@v4
36
39
with :
37
40
context : ./
38
41
file : ./Dockerfile
42
+ platforms : linux/amd64,linux/arm64
39
43
push : true
40
44
tags : jembi/openhim-core:${{ env.RELEASE_VERSION }}
You can’t perform that action at this time.
0 commit comments