From 9263fc0ce5331ffa4b93f680d7a713f178a54617 Mon Sep 17 00:00:00 2001
From: suin <suinyeze@gmail.com>
Date: Tue, 10 Dec 2024 13:46:23 +0900
Subject: [PATCH] feat: add arm64 platform support to Docker builds

Signed-off-by: suin <suinyeze@gmail.com>
---
 .github/workflows/release.yaml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml
index 8dd4a57..5e0b1dd 100644
--- a/.github/workflows/release.yaml
+++ b/.github/workflows/release.yaml
@@ -8,7 +8,7 @@ on:
 permissions:
   contents: write
 jobs:
-  webhook-init-image-amd64:
+  webhook-init-image:
     runs-on: ubuntu-latest
     steps:
       - name: Checkout
@@ -46,12 +46,12 @@ jobs:
         uses: docker/build-push-action@v6
         with:
           context: .
-          platforms: linux/amd64
+          platforms: linux/amd64,linux/arm64
           push: ${{ github.event_name != 'pull_request' }}
           tags: ${{ steps.meta.outputs.tags }}
           labels: ${{ steps.meta.outputs.labels }}
 
-  webhook-server-image-amd64:
+  webhook-server-image:
     runs-on: ubuntu-latest
     steps:
       - name: Checkout
@@ -89,7 +89,7 @@ jobs:
         uses: docker/build-push-action@v6
         with:
           context: .
-          platforms: linux/amd64
+          platforms: linux/amd64,linux/arm64
           push: ${{ github.event_name != 'pull_request' }}
           tags: ${{ steps.meta.outputs.tags }}
           labels: ${{ steps.meta.outputs.labels }}