action: build args

This commit is contained in:
Git User
2025-04-22 15:15:49 +08:00
parent 6507012ca0
commit 0c757c6af4

View File

@@ -25,7 +25,7 @@ jobs:
- name: "Compile Ubuntu 24.04 (noble) [amd64]"
run: |
docker run --rm -v ${{ github.workspace }}/output:/data/output ubuntu:24.04
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
@@ -49,7 +49,7 @@ jobs:
- name: "Compile Ubuntu 22.04 (jammy) [amd64]"
run: |
docker run --rm -v ${{ github.workspace }}/output:/data/output ubuntu:22.04
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
@@ -72,7 +72,7 @@ jobs:
- name: "Compile Ubuntu 20.04 (focal) [amd64]"
run: |
docker run --rm -v ${{ github.workspace }}/output:/data/output ubuntu:20.04
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
@@ -95,7 +95,7 @@ jobs:
- name: "Compile Ubuntu 18.04 (bionic) [amd64]"
run: |
docker run --rm -v ${{ github.workspace }}/output:/data/output ubuntu:18.04
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
@@ -118,7 +118,7 @@ jobs:
- name: "Compile Debian 13 (trixie) [amd64]"
run: |
docker run --rm -v ${{ github.workspace }}/output:/data/output debian:trixie
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
@@ -142,7 +142,7 @@ jobs:
- name: "Compile Debian 12 (bookworm) [amd64]"
run: |
docker run --rm -v ${{ github.workspace }}/output:/data/output debian:bookworm
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
@@ -166,7 +166,7 @@ jobs:
- name: "Compile Debian 11 (bullseye) [amd64]"
run: |
docker run --rm -v ${{ github.workspace }}/output:/data/output debian:bullseye
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