File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5050 files : |
5151 pie.phar
5252 pie.phar.asc
53+ - name : Store PHAR as artifact
54+ uses : actions/upload-artifact@v4
55+ with :
56+ name : phar-binary
57+ path : pie.phar
5358
5459 docker-binary-only-image :
5560 needs : release-phar
6570 - name : Checkout repository
6671 uses : actions/checkout@v4
6772
73+ - name : Restore built PHAR
74+ uses : actions/download-artifact@v4
75+ with :
76+ name : phar-binary
77+
6878 - name : Set up QEMU
6979 uses : docker/setup-qemu-action@v3
7080
Original file line number Diff line number Diff line change 1- FROM curlimages/curl AS phar-downloader
2-
3- ARG PIE_VERSION
4-
5- RUN curl -fsSL --output /tmp/pie https://github.com/php/pie/releases/download/${PIE_VERSION}/pie.phar \
6- && chmod +x /tmp/pie \
7- && curl -fsSL --output /tmp/pie.asc https://github.com/php/pie/releases/download/${PIE_VERSION}/pie.phar.asc
8-
91FROM scratch AS standalone-binary
102
11- COPY --from=phar-downloader /tmp/pie /pie
12- COPY --from=phar-downloader /tmp/pie.asc /pie.asc
3+ COPY pie.phar /pie
You can’t perform that action at this time.
0 commit comments