Skip to content

Commit 7d579af

Browse files
authored
fix
1 parent 869b2ad commit 7d579af

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/docker-image.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ jobs:
2525
run: |
2626
mkdir $RUNNER_TEMP/alpine_node
2727
docker run --rm -v $RUNNER_TEMP/alpine_node:/node_output alpine_nodejs:${{github.event.inputs.NodeVersion}}
28+
ls -l -R $RUNNER_TEMP/alpine_node
2829
- name: Upload alpine node.js
2930
uses: actions/upload-artifact@v2
3031
with:

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,12 @@ RUN cd node-$NodeVersion && ./configure --dest-cpu=x64 --partly-static && make -
1515

1616
# create and copy tar.gz into /node_staging
1717
RUN mkdir -p /usr/src/out/bin
18+
RUN mkdir -p /node_staging
1819
WORKDIR /usr/src/out
1920
RUN cp /usr/src/app/node-$NodeVersion/out/Release/node /usr/src/out/bin/node
2021
RUN cp /usr/src/app/node-$NodeVersion/LICENSE /usr/src/out/LICENSE
2122
RUN tar -czvf node-$NodeVersion-alpine-x64.tar.gz ./bin ./LICENSE && rm -rf ./bin ./LICENSE
22-
RUN cp ./node-$NodeVersion-alpine-x64.tar.gz /node_staging
23+
RUN cp ./node-$NodeVersion-alpine-x64.tar.gz /node_staging/node-$NodeVersion-alpine-x64.tar.gz && ls -l /node_staging
2324

2425
# copy the tar.gz into the mapped in volume
25-
CMD ["cp", "/node_staging", "/node_output"]
26+
CMD ["cp", "-v", "/node_staging", "/node_output"]

0 commit comments

Comments
 (0)