Skip to content

Commit b0cb8e3

Browse files
WIP
1 parent 18b7e51 commit b0cb8e3

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/docker/Dockerfile.musl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
ARG NODE_VERSION=16.20.1
22
ARG 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

67
RUN node -v

.github/workflows/build.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)