We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22c612c commit bbc0221Copy full SHA for bbc0221
.github/workflows/release.yaml
@@ -8,6 +8,12 @@ permissions:
8
jobs:
9
Publish:
10
runs-on: ubuntu-latest
11
+ strategy:
12
+ fail-fast: true
13
+ matrix:
14
+ arch:
15
+ - amd64
16
+ - arm64
17
steps:
18
- name: Checkout
19
uses: actions/checkout@v4
@@ -38,15 +44,10 @@ jobs:
38
44
39
45
- name: Extract metadata (tags, labels) for Docker
40
46
id: meta
41
- uses: docker/metadata-action@v5
42
- with:
43
- images: kcllang/kcl
- - name: Build and push Docker image
47
uses: docker/build-push-action@v5
48
with:
- platforms: linux/amd64,linux/arm64
- push: true
49
- tags: kcllang/kcl
+ context: .
50
+ platforms: linux/${{ matrix.arch }}
51
52
- name: Build and push Docker image
53
0 commit comments