Skip to content

Commit bbc0221

Browse files
committed
test: test
Signed-off-by: peefy <xpf6677@163.com>
1 parent 22c612c commit bbc0221

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

.github/workflows/release.yaml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@ permissions:
88
jobs:
99
Publish:
1010
runs-on: ubuntu-latest
11+
strategy:
12+
fail-fast: true
13+
matrix:
14+
arch:
15+
- amd64
16+
- arm64
1117
steps:
1218
- name: Checkout
1319
uses: actions/checkout@v4
@@ -38,15 +44,10 @@ jobs:
3844

3945
- name: Extract metadata (tags, labels) for Docker
4046
id: meta
41-
uses: docker/metadata-action@v5
42-
with:
43-
images: kcllang/kcl
44-
- name: Build and push Docker image
4547
uses: docker/build-push-action@v5
4648
with:
47-
platforms: linux/amd64,linux/arm64
48-
push: true
49-
tags: kcllang/kcl
49+
context: .
50+
platforms: linux/${{ matrix.arch }}
5051

5152
- name: Build and push Docker image
5253
uses: docker/build-push-action@v5

0 commit comments

Comments
 (0)