Skip to content

Commit b8f5eee

Browse files
authored
Merge pull request #26 from meceware/dev
v1.0.0.rc7
2 parents 892e513 + a952e66 commit b8f5eee

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/docker-build.yml

+6-3
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ jobs:
2323
- name: Checkout repository
2424
uses: actions/checkout@v4
2525

26+
- name: Set up QEMU
27+
uses: docker/setup-qemu-action@v3
28+
2629
- name: Set up Docker Buildx
2730
uses: docker/setup-buildx-action@v3
2831

@@ -39,17 +42,17 @@ jobs:
3942
with:
4043
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
4144
tags: |
42-
type=raw,value=latest
43-
type=ref,event=branch
44-
type=ref,event=pr
45+
type=raw,value=latest,enable={{is_default_branch}}
4546
type=semver,pattern={{version}}
4647
type=semver,pattern={{major}}.{{minor}}
48+
type=semver,pattern={{major}}.{{minor}}.{{patch}}
4749
type=sha,format=long
4850
4951
- name: Build and push Docker image
5052
uses: docker/build-push-action@v5
5153
with:
5254
context: .
55+
platforms: linux/amd64,linux/arm64
5356
push: ${{ github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/') }}
5457
tags: ${{ steps.meta.outputs.tags }}
5558
labels: ${{ steps.meta.outputs.labels }}

0 commit comments

Comments
 (0)