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 1
1
ARG NODE_VERSION=16.20.1
2
2
ARG ALPINE_VERSION=3.17.2
3
+ ARG P=amd64
3
4
4
- FROM arm64v8 /node:16-alpine AS node
5
+ FROM ${P} /node:16-alpine AS node
5
6
6
7
RUN node -v
Original file line number Diff line number Diff line change @@ -88,11 +88,10 @@ jobs:
88
88
- name : Run Buildx
89
89
run : |
90
90
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 \
96
95
.
97
96
98
97
# - id: upload
You can’t perform that action at this time.
0 commit comments