From c82dc2f32227d74f8f69f7db1da7db976c56114f Mon Sep 17 00:00:00 2001 From: softwarenoob Date: Mon, 15 Nov 2021 16:36:19 +0200 Subject: [PATCH] feat: add ARM64 support to Go, Node and Python --- .github/workflows/go.yml | 4 +++- .github/workflows/nodejs.yml | 4 +++- .github/workflows/python.yml | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index ca60141..022bae1 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -22,6 +22,8 @@ jobs: - 1.17 steps: - uses: actions/checkout@v2 + # Setup QEMU for ARM64 Build + - uses: docker/setup-qemu-action@v1 - uses: docker/setup-buildx-action@v1 with: version: "v0.5.1" @@ -35,7 +37,7 @@ jobs: with: context: ./go file: ./go/${{ matrix.tag }}/Dockerfile - platforms: linux/amd64 + platforms: linux/amd64, linux/arm64 push: true tags: | ghcr.io/pterodactyl/yolks:go_${{ matrix.tag }} diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 837993a..4aa8d6c 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -23,6 +23,8 @@ jobs: - 17 steps: - uses: actions/checkout@v2 + # Setup QEMU for ARM64 Build + - uses: docker/setup-qemu-action@v1 - uses: docker/setup-buildx-action@v1 with: version: "v0.5.1" @@ -36,7 +38,7 @@ jobs: with: context: ./nodejs file: ./nodejs/${{ matrix.tag }}/Dockerfile - platforms: linux/amd64 + platforms: linux/amd64,linux/arm64 push: true tags: | ghcr.io/pterodactyl/yolks:nodejs_${{ matrix.tag }} diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index d51a04a..af3dd69 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -22,6 +22,8 @@ jobs: - '3.10' steps: - uses: actions/checkout@v2 + # Setup QEMU for ARM64 Build + - uses: docker/setup-qemu-action@v1 - uses: docker/setup-buildx-action@v1 with: version: "v0.5.1" @@ -35,7 +37,7 @@ jobs: with: context: ./python file: ./python/${{ matrix.tag }}/Dockerfile - platforms: linux/amd64 + platforms: linux/amd64, linux/arm64 push: true tags: | ghcr.io/pterodactyl/yolks:python_${{ matrix.tag }}