File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change 6
6
types : [published, edited]
7
7
env :
8
8
IMAGE_NAME : citydb-tool
9
+ PLATFORMS : linux/amd64,linux/arm64
9
10
10
11
jobs :
11
12
build-push :
12
13
runs-on : ubuntu-latest
13
- strategy :
14
- fail-fast : false
15
- matrix :
16
- platform :
17
- - linux/amd64
18
- - linux/arm64
14
+
19
15
steps :
20
16
-
21
17
name : Get release version without v
@@ -48,10 +44,12 @@ jobs:
48
44
name : Set up QEMU
49
45
uses : docker/setup-qemu-action@v3
50
46
with :
51
- platforms : ${{ matrix.platform }}
47
+ platforms : ${{ env.PLATFORMS }}
52
48
-
53
49
name : Set up Docker Buildx
54
50
uses : docker/setup-buildx-action@v3
51
+ with :
52
+ platforms : ${{ env.PLATFORMS }}
55
53
-
56
54
name : Extract metadata (tags, labels) for docker image
57
55
id : meta
83
81
push : true
84
82
tags : ${{ steps.meta.outputs.tags }}
85
83
labels : ${{ steps.meta.outputs.labels }}
86
- platforms : ${{ matrix.platform }}
84
+ platforms : ${{ env.PLATFORMS }}
87
85
build-args : |
88
86
CITYDB_TOOL_VERSION=${{ steps.release_version.outputs.version }}
89
87
-
You can’t perform that action at this time.
0 commit comments