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
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 }}

View file

@ -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 }}

View file

@ -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 }}