File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,25 +15,8 @@ permissions:
1515 packages : write
1616
1717jobs :
18- build-pkgx :
19- runs-on : ubuntu-latest
20- container : debian:buster-slim
21- steps :
22- - uses : actions/checkout@v4
23-
24- - run : apt-get update && apt-get install -y curl gcc perl make
25-
26- - uses : dtolnay/rust-toolchain@stable
27- - run : cargo build --release
28-
29- - uses : actions/upload-artifact@v4
30- with :
31- name : products
32- path : ./target/release/pkgx
33-
3418 build-docker :
3519 runs-on : ubuntu-latest
36- needs : build-pkgx
3720 strategy :
3821 matrix :
3922 variety :
@@ -42,15 +25,15 @@ jobs:
4225 - debian
4326 - ubuntu
4427 steps :
45- - uses : actions/checkout@v4
46-
47- - uses : actions/download-artifact@v4
28+ - uses : robinraju/release-downloader@v1.11
4829 with :
49- name : products
30+ fileName : pkgx-*+linux+x86_64.tar.xz
31+
32+ - uses : actions/checkout@v4
5033
5134 - run : |
5235 mkdir products
53- mv ./pkgx products/$(uname -m)
36+ tar -C products xf pkgx*.tar.xz
5437 curl https://pkgxdev.github.io/pkgm/pkgm.ts -o products/pkgm
5538
5639 - run :
Original file line number Diff line number Diff line change @@ -3,7 +3,8 @@ COPY ./products/* /pkgx/
33RUN install -m 755 /pkgx/$(uname -m) /usr/local/bin/pkgx
44RUN install -m 755 /pkgx/pkgm /usr/local/bin/pkgm
55
6- FROM busybox:glibc AS stage2
6+ # FIXME a newer glibc would be nice, but the libpthread.so we copy in then fails
7+ FROM busybox:1.31-glibc AS stage2
78COPY --from=stage1 /usr/local/bin/pkgx /usr/local/bin/pkgx
89COPY --from=stage1 /usr/local/bin/pkgm /usr/local/bin/pkgm
910
You can’t perform that action at this time.
0 commit comments