feat: add ARM64 support to Go, Node and Python

This commit is contained in:
softwarenoob 2021-11-15 16:36:19 +02:00
parent 80bb14d46f
commit c82dc2f322
No known key found for this signature in database
GPG key ID: 727A9A3F4417ED51
3 changed files with 9 additions and 3 deletions

View file

@ -22,6 +22,8 @@ jobs:
- 1.17 - 1.17
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
# Setup QEMU for ARM64 Build
- uses: docker/setup-qemu-action@v1
- uses: docker/setup-buildx-action@v1 - uses: docker/setup-buildx-action@v1
with: with:
version: "v0.5.1" version: "v0.5.1"
@ -35,7 +37,7 @@ jobs:
with: with:
context: ./go context: ./go
file: ./go/${{ matrix.tag }}/Dockerfile file: ./go/${{ matrix.tag }}/Dockerfile
platforms: linux/amd64 platforms: linux/amd64, linux/arm64
push: true push: true
tags: | tags: |
ghcr.io/pterodactyl/yolks:go_${{ matrix.tag }} ghcr.io/pterodactyl/yolks:go_${{ matrix.tag }}

View file

@ -23,6 +23,8 @@ jobs:
- 17 - 17
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
# Setup QEMU for ARM64 Build
- uses: docker/setup-qemu-action@v1
- uses: docker/setup-buildx-action@v1 - uses: docker/setup-buildx-action@v1
with: with:
version: "v0.5.1" version: "v0.5.1"
@ -36,7 +38,7 @@ jobs:
with: with:
context: ./nodejs context: ./nodejs
file: ./nodejs/${{ matrix.tag }}/Dockerfile file: ./nodejs/${{ matrix.tag }}/Dockerfile
platforms: linux/amd64 platforms: linux/amd64,linux/arm64
push: true push: true
tags: | tags: |
ghcr.io/pterodactyl/yolks:nodejs_${{ matrix.tag }} ghcr.io/pterodactyl/yolks:nodejs_${{ matrix.tag }}

View file

@ -22,6 +22,8 @@ jobs:
- '3.10' - '3.10'
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
# Setup QEMU for ARM64 Build
- uses: docker/setup-qemu-action@v1
- uses: docker/setup-buildx-action@v1 - uses: docker/setup-buildx-action@v1
with: with:
version: "v0.5.1" version: "v0.5.1"
@ -35,7 +37,7 @@ jobs:
with: with:
context: ./python context: ./python
file: ./python/${{ matrix.tag }}/Dockerfile file: ./python/${{ matrix.tag }}/Dockerfile
platforms: linux/amd64 platforms: linux/amd64, linux/arm64
push: true push: true
tags: | tags: |
ghcr.io/pterodactyl/yolks:python_${{ matrix.tag }} ghcr.io/pterodactyl/yolks:python_${{ matrix.tag }}