File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 4141 push : true
4242 tags : ${{ steps.meta.outputs.tags }}
4343 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 11FROM docker.io/library/node:18-buster AS builder
22WORKDIR /src
33COPY . ./
4- RUN yarn install && \
4+ RUN yarn install --frozen-lockfile --network-timeout 100000 && \
55 yarn run build && \
66 # Commit lint CLI packages
77 npm pack @commitlint/cli && \
@@ -26,6 +26,8 @@ RUN yarn install && \
2626
2727FROM docker.io/library/node:18-buster
2828COPY --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 && \
3032 rm -rf *.tgz
3133ENTRYPOINT ["commitlint"]
You can’t perform that action at this time.
0 commit comments