File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 22ARG PLATFORM=arm64
33ARG NODE_VERSION=16.20.1
44
5- FROM docker.io/arm64v8/ node:18.0.0 -alpine@sha256:406932de43d1cbc1b6f8d767260feb9cac40077e0a8ffe002fd6713259059d32 AS node
5+ FROM ${PLATFORM}/ node:${NODE_VERSION} -alpine AS node
66
77WORKDIR /zstd
88COPY . .
Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ jobs:
120120 strategy :
121121 matrix :
122122 linux_arch : [arm64v8]
123- node : [18.x ]
123+ node : [18.0.0 ]
124124 fail-fast : false
125125 steps :
126126 - uses : actions/checkout@v4
@@ -145,6 +145,8 @@ jobs:
145145 run : |
146146 echo "Docker version: $(docker --version)"
147147 docker buildx create --name builder --bootstrap --use
148+ docker image pull arm64v8/node:18.0.0-alpine
149+ echo '---------'
148150 docker --debug buildx build --progress=plain --no-cache \
149151 --platform linux/${{ matrix.linux_arch }} \
150152 --build-arg="PLATFORM=${{ matrix.linux_arch }}" \
You can’t perform that action at this time.
0 commit comments