Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 28bed3f

Browse files
feat(container): add arm64 build (conventional-changelog#4049)
fixes conventional-changelog#3926
1 parent 1f735e1 commit 28bed3f

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

‎.github/workflows/container-build.yml‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,4 @@ jobs:
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

‎Dockerfile.ci‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
FROM docker.io/library/node:18-buster AS builder
22
WORKDIR /src
33
COPY . ./
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

2727
FROM docker.io/library/node:18-buster
2828
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 && \
3032
rm -rf *.tgz
3133
ENTRYPOINT ["commitlint"]

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /