action: fix arm

This commit is contained in:
Git User
2025-04-22 15:19:11 +08:00
parent 0c757c6af4
commit dc408c882b

View File

@@ -31,7 +31,7 @@ jobs:
- name: "Compile Ubuntu 24.04 (noble) [arm64]"
run: |
docker run --rm --platform linux/arm64 -v ${{ github.workspace }}/output:/data/output __:ubuntu24
docker run --rm -v ${{ github.workspace }}:/work library/ubuntu:24.04 bash -c "./install_deps.sh && ./compile.sh"
sudo apt install -y rename
source ${{ github.workspace }}/version.env
pushd ${{ github.workspace }}/output
@@ -61,7 +61,7 @@ jobs:
- name: "Compile Ubuntu 22.04 (jammy) [arm64]"
run: |
docker run --rm --platform linux/arm64 -v ${{ github.workspace }}/output:/data/output __:ubuntu22
docker run --rm -v ${{ github.workspace }}:/work library/ubuntu:22.04 bash -c "./install_deps.sh && ./compile.sh"
sudo apt install -y rename
source ${{ github.workspace }}/version.env
pushd ${{ github.workspace }}/output
@@ -90,7 +90,7 @@ jobs:
- name: "Compile Ubuntu 20.04 (focal) [arm64]"
run: |
docker run --rm --platform linux/arm64 -v ${{ github.workspace }}/output:/data/output __:ubuntu20
docker run --rm -v ${{ github.workspace }}:/work library/ubuntu:20.04 bash -c "./install_deps.sh && ./compile.sh"
sudo apt install -y rename
source ${{ github.workspace }}/version.env
pushd ${{ github.workspace }}/output
@@ -119,7 +119,7 @@ jobs:
- name: "Compile Ubuntu 18.04 (bionic) [arm64]"
run: |
docker run --rm --platform linux/arm64 -v ${{ github.workspace }}/output:/data/output __:ubuntu18
docker run --rm -v ${{ github.workspace }}:/work library/ubuntu:18.04 bash -c "./install_deps.sh && ./compile.sh"
sudo apt install -y rename
source ${{ github.workspace }}/version.env
pushd ${{ github.workspace }}/output
@@ -148,7 +148,7 @@ jobs:
- name: "Compile Debian 13 (trixie) [arm64]"
run: |
docker run --rm --platform linux/arm64 -v ${{ github.workspace }}/output:/data/output __:debian13
docker run --rm -v ${{ github.workspace }}:/work library/debian:trixie bash -c "./install_deps.sh && ./compile.sh"
sudo apt install -y rename
source ${{ github.workspace }}/version.env
pushd ${{ github.workspace }}/output
@@ -178,7 +178,7 @@ jobs:
- name: "Compile Debian 12 (bookworm) [arm64]"
run: |
docker run --rm --platform linux/arm64 -v ${{ github.workspace }}/output:/data/output __:debian12
docker run --rm -v ${{ github.workspace }}:/work library/debian:bookworm bash -c "./install_deps.sh && ./compile.sh"
sudo apt install -y rename
source ${{ github.workspace }}/version.env
pushd ${{ github.workspace }}/output
@@ -208,7 +208,7 @@ jobs:
- name: "Compile Debian 11 (bullseye) [arm64]"
run: |
docker run --rm --platform linux/arm64 -v ${{ github.workspace }}/output:/data/output __:debian11
docker run --rm -v ${{ github.workspace }}:/work library/debian:bullseye bash -c "./install_deps.sh && ./compile.sh"
sudo apt install -y rename
source ${{ github.workspace }}/version.env
pushd ${{ github.workspace }}/output