File tree 2 files changed +5
-4
lines changed
2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 41
41
push : true
42
42
tags : ${{ steps.meta.outputs.tags }}
43
43
labels : ${{ steps.meta.outputs.labels }}
44
- # disable arm build for now, because of https://github.com/nodejs/docker-node/issues/1335
45
- platforms : linux/amd64 # ,linux/arm64
44
+ platforms : linux/amd64,linux/arm64
Original file line number Diff line number Diff line change 1
1
FROM docker.io/library/node:18-buster AS builder
2
2
WORKDIR /src
3
3
COPY . ./
4
- RUN yarn install && \
4
+ RUN yarn install --frozen-lockfile --network-timeout 100000 && \
5
5
yarn run build && \
6
6
# Commit lint CLI packages
7
7
npm pack @commitlint/cli && \
@@ -26,6 +26,8 @@ RUN yarn install && \
26
26
27
27
FROM docker.io/library/node:18-buster
28
28
COPY --from=builder /src/*.tgz ./
29
- RUN npm install -g *.tgz && \
29
+ RUN npm config set fetch-retry-mintimeout 20000 && \
30
+ npm config set fetch-retry-maxtimeout 120000 && \
31
+ npm install --no-audit -g *.tgz && \
30
32
rm -rf *.tgz
31
33
ENTRYPOINT ["commitlint"]
You can’t perform that action at this time.
0 commit comments