Commit 29ee5e3 1 parent caeeebf commit 29ee5e3 Copy full SHA for 29ee5e3
File tree 1 file changed +7
-4
lines changed
1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 1
1
name : Docker-arm64
2
2
3
3
on :
4
- workflow_dispatch : {}
4
+ workflow_dispatch :
5
+ inputs :
6
+ tag :
7
+ description : " tag of this image (suffix -arm64 is added automatically)"
8
+ required : true
9
+ type : string
5
10
6
11
jobs :
7
12
build-and-push-arm64-image :
8
13
runs-on : ubuntu-latest
9
14
strategy :
10
15
matrix :
11
16
arch :
12
- - amd64
13
17
- aarch64
14
18
15
19
steps :
16
20
- name : Checkout code
17
21
uses : actions/checkout@v2
18
22
- name : Set up QEMU
19
- if : matrix.arch == 'aarch64'
20
23
run : |
21
24
docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
22
25
docker buildx create --name multiarch --driver docker-container --use
35
38
context : .
36
39
file : Dockerfile
37
40
push : true
38
- tags : scrolltech/l2geth:${{github.ref_name }}-arm64
41
+ tags : scrolltech/l2geth:${{inputs.tag }}-arm64
You can’t perform that action at this time.
0 commit comments