Skip to content

Commit fc44e1e

Browse files
committed
Update release workflow
1 parent b8c86ee commit fc44e1e

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

.github/workflows/release.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@ jobs:
1515
username: ${{ secrets.DOCKER_USERNAME }}
1616
password: ${{ secrets.DOCKER_PASSWORD }}
1717

18+
- name: 🛠️ Set up QEMU
19+
uses: docker/setup-qemu-action@v3
20+
21+
- name: 🔧 Set up Docker Buildx
22+
uses: docker/setup-buildx-action@v3
23+
1824
- name: Login to GitHub Packages
1925
uses: docker/login-action@v3
2026
with:
@@ -39,10 +45,11 @@ jobs:
3945
flavor: |
4046
latest=true
4147
42-
- name: Build and push to DockerHub & GitHub Packages
43-
id: docker_build
48+
- name: 🚢 Build and Push Docker Image
49+
id: push
4450
uses: docker/build-push-action@v6
4551
with:
52+
platforms: linux/amd64,linux/arm64
4653
push: true
4754
tags: ${{ steps.meta.outputs.tags }}
4855
build-args: |
@@ -65,4 +72,4 @@ jobs:
6572
- name: Upload Binaries
6673
run: |
6774
go install github.com/tcnksm/ghr@latest
68-
ghr -t ${{ secrets.GITHUB_TOKEN }} --delete Latest builds/compressed/
75+
ghr -t ${{ secrets.GITHUB_TOKEN }} --delete Latest builds/compressed/

0 commit comments

Comments
 (0)