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
|
- 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 }}
|
||||||
|
|
4
.github/workflows/nodejs.yml
vendored
4
.github/workflows/nodejs.yml
vendored
|
@ -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 }}
|
||||||
|
|
4
.github/workflows/python.yml
vendored
4
.github/workflows/python.yml
vendored
|
@ -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 }}
|
||||||
|
|
Loading…
Reference in a new issue