Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
baileympearson committed Nov 11, 2024
1 parent 18b7e51 commit b0cb8e3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
3 changes: 2 additions & 1 deletion .github/docker/Dockerfile.musl
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
ARG NODE_VERSION=16.20.1
ARG ALPINE_VERSION=3.17.2
ARG P=amd64

FROM arm64v8/node:16-alpine AS node
FROM ${P}/node:16-alpine AS node

RUN node -v
9 changes: 4 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,10 @@ jobs:
- name: Run Buildx
run: |
docker buildx create --name builder --bootstrap --use
docker buildx build \
--platform linux/${{ matrix.linux_arch }} \
--build-arg="NODE_ARCH=${{ matrix.linux_arch == 'amd64' && 'x64' || matrix.linux_arch }}" \
--output type=local,dest=./prebuilds,platform-split=false \
-f ./.github/docker/Dockerfile.musl \
docker --debug buildx build --progress=plain --no-cache \
--platform linux/${{ matrix.linux_arch }} --output type=local,dest=./prebuilds,platform-split=false \
--build-arg="P=${{ matrix.linux_arch == 'amd64' && 'amd64' || 'arm64v8'}}" \
-f ../.github/docker/Dockerfile.musl \
.
# - id: upload
Expand Down

0 comments on commit b0cb8e3

Please sign in to comment.