File tree 2 files changed +18
-2
lines changed
2 files changed +18
-2
lines changed Original file line number Diff line number Diff line change 1
1
on :
2
2
workflow_call :
3
3
inputs :
4
+ amd64-runner-image :
5
+ description : >-
6
+ Runner image to use for building AMD64 image.
7
+ required : false
8
+ type : string
9
+ default : ubuntu-latest
10
+ arm64-runner-image :
11
+ description : >-
12
+ Runner image to use for building ARM64 image.
13
+ required : false
14
+ type : string
15
+ default : ubuntu-latest
4
16
registry-image :
5
17
description : >-
6
18
Docker image to use as base name for tags.
63
75
fail-fast : false
64
76
matrix :
65
77
builder :
66
- - runner-image : ubuntu-latest
78
+ - runner-image : ${{ inputs.amd64-runner-image }}
67
79
platform : linux/amd64
68
- - runner-image : ubuntu-latest
80
+ - runner-image : ${{ inputs.arm64-runner-image }}
69
81
platform : linux/arm64
70
82
steps :
71
83
- name : Prepare
Original file line number Diff line number Diff line change @@ -29,6 +29,10 @@ GitHub action for using a matrix strategy to distribute the build for
29
29
30
30
** Inputs** :
31
31
32
+ - ` amd64-runner-image ` (` string ` ): Runner image to use for building AMD64 image.
33
+ Defaults to ` ubuntu-latest ` . Optional.
34
+ - ` arm64-runner-image ` (` string ` ): Runner image to use for building ARM64 image.
35
+ Defaults to ` ubuntu-latest ` . Optional.
32
36
- ` registry-image ` (` string ` ): Docker image to use as base name for tags.
33
37
- ` metadata-tags ` (` string ` ): List of tags as key-value pair attributes.
34
38
Optional.
You can’t perform that action at this time.
0 commit comments