File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 11ARG NODE_VERSION=16.20.1
22ARG ALPINE_VERSION=3.17.2
3+ ARG P=amd64
34
4- FROM arm64v8 /node:16-alpine AS node
5+ FROM ${P} /node:16-alpine AS node
56
67RUN node -v
Original file line number Diff line number Diff line change @@ -88,11 +88,10 @@ jobs:
8888 - name : Run Buildx
8989 run : |
9090 docker buildx create --name builder --bootstrap --use
91- docker buildx build \
92- --platform linux/${{ matrix.linux_arch }} \
93- --build-arg="NODE_ARCH=${{ matrix.linux_arch == 'amd64' && 'x64' || matrix.linux_arch }}" \
94- --output type=local,dest=./prebuilds,platform-split=false \
95- -f ./.github/docker/Dockerfile.musl \
91+ docker --debug buildx build --progress=plain --no-cache \
92+ --platform linux/${{ matrix.linux_arch }} --output type=local,dest=./prebuilds,platform-split=false \
93+ --build-arg="P=${{ matrix.linux_arch == 'amd64' && 'amd64' || 'arm64v8'}}" \
94+ -f ../.github/docker/Dockerfile.musl \
9695 .
9796
9897 # - id: upload
You can’t perform that action at this time.
0 commit comments