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 7
7
- main
8
8
env :
9
9
IMAGE_NAME : citydb-tool
10
+ PLATFORMS : linux/amd64,linux/arm64
10
11
11
12
jobs :
12
13
build-push :
13
14
runs-on : ubuntu-latest
14
- strategy :
15
- fail-fast : false
16
- matrix :
17
- platform :
18
- - linux/amd64
19
- - linux/arm64
15
+
20
16
steps :
21
17
-
22
18
name : Parse short sha
@@ -49,10 +45,12 @@ jobs:
49
45
name : Set up QEMU
50
46
uses : docker/setup-qemu-action@v3
51
47
with :
52
- platforms : ${{ matrix.platform }}
48
+ platforms : ${{ env.PLATFORMS }}
53
49
-
54
50
name : Set up Docker Buildx
55
51
uses : docker/setup-buildx-action@v3
52
+ with :
53
+ platforms : ${{ env.PLATFORMS }}
56
54
-
57
55
name : Extract metadata (tags, labels) for docker image
58
56
id : meta
84
82
push : true
85
83
tags : ${{ steps.meta.outputs.tags }}
86
84
labels : ${{ steps.meta.outputs.labels }}
87
- platforms : ${{ matrix.platform }}
85
+ platforms : ${{ env.PLATFORMS }}
88
86
build-args : |
89
87
CITYDB_TOOL_VERSION=${{ steps.short-sha.outputs.sha }}
90
88
-
You can’t perform that action at this time.
0 commit comments