forgot we're not using a smart language
This commit is contained in:
@@ -58,8 +58,8 @@ jobs:
|
||||
run: |
|
||||
docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
|
||||
docker buildx create --use
|
||||
docker buildx build --platform linux/arm/v7 -t arm-builder --load --file - . <<EOF
|
||||
FROM python:3.11-slim-buster
|
||||
docker buildx build --platform linux/arm64/v8 -t arm-builder --load --file - . <<EOF
|
||||
FROM arm64v8/python:3.11-slim-buster
|
||||
WORKDIR /app
|
||||
COPY requirements.txt /app/requirements.txt
|
||||
COPY app /app/app
|
||||
@@ -95,7 +95,7 @@ jobs:
|
||||
|
||||
- name: Extract ARM Executable
|
||||
run: |
|
||||
container_id=$(docker create --platform linux/arm/v7 arm-builder)
|
||||
container_id=$(docker create --platform linux/arm64/v8 arm-builder)
|
||||
docker cp $container_id:/app/app/dist/wolServer app/dist/wolServer
|
||||
docker rm $container_id
|
||||
|
||||
|
||||
Reference in New Issue
Block a user