From b9c240b501386eb5692c742aad670747cc77615b Mon Sep 17 00:00:00 2001 From: rexeo-asia <72854949+rexeo-asia@users.noreply.github.com> Date: Mon, 14 Oct 2024 10:26:12 +0800 Subject: [PATCH] Update docker-build-push.yml to support arm64 --- .github/workflows/docker-build-push.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/docker-build-push.yml b/.github/workflows/docker-build-push.yml index e5e9fda98..3b79bc7a5 100644 --- a/.github/workflows/docker-build-push.yml +++ b/.github/workflows/docker-build-push.yml @@ -37,6 +37,9 @@ jobs: image: registry:2 ports: - 5000:5000 + strategy: + matrix: + arch: [amd64, arm64] steps: - name: Checkout @@ -46,6 +49,7 @@ jobs: uses: docker/setup-buildx-action@v3 with: driver-opts: network=host + platforms: linux/${{ matrix.arch }} - name: Get latest versions run: python3 ./.github/scripts/get_latest_tags.py --repo ${{ inputs.repo }} --version ${{ inputs.version }}