mirror of
https://github.com/darksaid98/yolks.git
synced 2026-12-04 22:22:09 +00:00
feat: ARM64 support for Python
This commit is contained in:
1 parent
8ba8f2f811
commit
7b66879352
6 files changed
+8
-6
No files matched your search
@@ -23,6 +23,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"
|
||||||
@@ -36,7 +38,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/parkervcp/yolks:python_${{ matrix.tag }}
|
ghcr.io/parkervcp/yolks:python_${{ matrix.tag }}
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
FROM python:2.7-slim
|
FROM --platform=$TARGETOS/$TARGETARCH python:2.7-slim
|
||||||
|
|
||||||
LABEL author="Michael Parker" maintainer="[email protected]"
|
LABEL author="Michael Parker" maintainer="[email protected]"
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
FROM python:3.10-slim
|
FROM --platform=$TARGETOS/$TARGETARCH python:3.10-slim
|
||||||
|
|
||||||
LABEL author="Michael Parker" maintainer="[email protected]"
|
LABEL author="Michael Parker" maintainer="[email protected]"
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
FROM python:3.7-slim
|
FROM --platform=$TARGETOS/$TARGETARCH python:3.7-slim
|
||||||
|
|
||||||
LABEL author="Michael Parker" maintainer="[email protected]"
|
LABEL author="Michael Parker" maintainer="[email protected]"
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
FROM python:3.8-slim
|
FROM --platform=$TARGETOS/$TARGETARCH python:3.8-slim
|
||||||
|
|
||||||
LABEL author="Michael Parker" maintainer="[email protected]"
|
LABEL author="Michael Parker" maintainer="[email protected]"
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
FROM python:3.9-slim
|
FROM --platform=$TARGETOS/$TARGETARCH python:3.9-slim
|
||||||
|
|
||||||
LABEL author="Michael Parker" maintainer="[email protected]"
|
LABEL author="Michael Parker" maintainer="[email protected]"
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user