feat: add ARM64 support to Go, Node and Python
This commit is contained in:
parent
80bb14d46f
commit
c82dc2f322
3 changed files with 9 additions and 3 deletions
4
.github/workflows/go.yml
vendored
4
.github/workflows/go.yml
vendored
|
@ -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 }}
|
||||
|
|
4
.github/workflows/nodejs.yml
vendored
4
.github/workflows/nodejs.yml
vendored
|
@ -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 }}
|
||||
|
|
4
.github/workflows/python.yml
vendored
4
.github/workflows/python.yml
vendored
|
@ -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 }}
|
||||
|
|
Loading…
Reference in a new issue