Skip to content

Commit

Permalink
unzip downloaded file
Browse files Browse the repository at this point in the history
  • Loading branch information
feederbox826 committed Oct 5, 2024
1 parent cc6ba0c commit 9360167
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ci/parser.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ async function downloadUrl(url) {
},
responseType: 'stream'
});
await promises.writeFile(ARTIFACT_NAME, response.data);
await promises.writeFile(`${ARTIFACT_NAME}.zip`, response.data);
}

const ghApi = axios.create({
Expand Down
4 changes: 3 additions & 1 deletion dockerfile/pr.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ ARG TARGET_BRANCH \
WORKDIR /app
COPY ci/parser.mjs parser.mjs
RUN --mount=type=secret,id=GITHUB_TOKEN \
npm i axios && node parser.mjs
npm i axios && node parser.mjs && \
unzip stash-linux.zip && \
chmod 755 stash-linux

# pull in prebuilt alpine/hwaccel
FROM ghcr.io/feederbox826/stash-s6:${UPSTREAM_TYPE} AS stash
Expand Down

0 comments on commit 9360167

Please sign in to comment.