8
8
runtime :
9
9
description : ' Runtime image'
10
10
required : true
11
- default : ' hackmdio/runtime:16.20.2-58224661 '
11
+ default : ' hackmdio/runtime:16.20.2-35fe7e39 '
12
12
buildpack :
13
13
description : ' Buildpack image'
14
14
required : true
15
- default : ' hackmdio/buildpack:16.20.2-58224661 '
15
+ default : ' hackmdio/buildpack:16.20.2-35fe7e39 '
16
16
17
17
env :
18
18
REGISTRY_IMAGE : hackmdio/hackmd
25
25
matrix :
26
26
platform :
27
27
- linux/amd64
28
- # - linux/arm64
28
+ - linux/arm64
29
29
steps :
30
30
-
31
31
name : Prepare
41
41
uses : docker/metadata-action@v5
42
42
with :
43
43
images : ${{ env.REGISTRY_IMAGE }}
44
- tags :
45
- type=match,pattern=\d.\d.\d
46
- type=sha
47
44
-
48
45
name : Set up QEMU
49
46
uses : docker/setup-qemu-action@v3
@@ -64,11 +61,11 @@ jobs:
64
61
context : .
65
62
file : ./deployments/Dockerfile
66
63
platforms : ${{ matrix.platform }}
67
- tags : ${{ steps.meta.outputs.tags }}
64
+ labels : ${{ steps.meta.outputs.labels }}
68
65
outputs : type=image,name=${{ env.REGISTRY_IMAGE }},push-by-digest=true,name-canonical=true,push=true
69
66
build-args : |
70
- RUNTIME=${{ github.event.inputs.runtime || 'hackmdio/runtime:16.20.2-58224661 ' }}
71
- BUILDPACK=${{ github.event.inputs.buildpack || 'hackmdio/buildpack:16.20.2-58224661 ' }}
67
+ RUNTIME=${{ github.event.inputs.runtime || 'hackmdio/runtime:16.20.2-35fe7e39 ' }}
68
+ BUILDPACK=${{ github.event.inputs.buildpack || 'hackmdio/buildpack:16.20.2-35fe7e39 ' }}
72
69
-
73
70
name : Export digest
74
71
run : |
@@ -105,6 +102,9 @@ jobs:
105
102
uses : docker/metadata-action@v5
106
103
with :
107
104
images : ${{ env.REGISTRY_IMAGE }}
105
+ tags : |
106
+ type=match,pattern=\d.\d.\d
107
+ type=sha,prefix=
108
108
-
109
109
name : Login to Docker Hub
110
110
uses : docker/login-action@v3
0 commit comments