@@ -57,15 +57,17 @@ jobs:
5757 run : |
5858 echo "version=$(node --print 'process.version.slice(1)')" >> "$GITHUB_OUTPUT"
5959 echo "ubuntu_version=$(node --print '(+process.version.slice(1).split(`.`).at(0)) > 16 ? `noble` : `bionic`')" >> "$GITHUB_OUTPUT"
60-
60+
6161 - name : Set up QEMU
6262 uses : docker/setup-qemu-action@v3
63+ with :
64+ image : tonistiigi/binfmt@sha256:66e11bea77a5ea9d6f0fe79b57cd2b189b5d15b93a2bdb925be22949232e4e55
6365
6466 - name : Set up Docker Buildx
6567 uses : docker/setup-buildx-action@v3
6668 with :
67- driver-opts : image=moby/buildkit: v0.18.1
68- version : v0.19 .2
69+ version : v0.18.0
70+ driver-opts : image=moby/buildkit: v0.17 .2
6971
7072 - name : Run Buildx
7173 run : |
@@ -80,43 +82,45 @@ jobs:
8082 -f ./.github/docker/Dockerfile.glibc \
8183 .
8284
83- # container_tests_musl:
84- # runs-on: ubuntu-latest
85- # strategy:
86- # matrix:
87- # linux_arch: [amd64, arm64]
88- # node: [16.20.1, 18.x, 20.x, 22.x]
89- # fail-fast: false
90- # steps:
91- # - uses: actions/checkout@v4
85+ container_tests_musl :
86+ runs-on : ubuntu-latest
87+ strategy :
88+ matrix :
89+ linux_arch : [amd64, arm64]
90+ node : [16.20.1, 18.x, 20.x, 22.x]
91+ fail-fast : false
92+ steps :
93+ - uses : actions/checkout@v4
9294
93- # - uses: actions/setup-node@v4
94- # with:
95- # node-version: ${{ matrix.node }}
95+ - uses : actions/setup-node@v4
96+ with :
97+ node-version : ${{ matrix.node }}
9698
97- # - name: Get Full Node.js Version
98- # id: get_nodejs_version
99- # shell: bash
100- # run: |
101- # echo "version=$(node --print 'process.version.slice(1)')" >> "$GITHUB_OUTPUT"
99+ - name : Get Full Node.js Version
100+ id : get_nodejs_version
101+ shell : bash
102+ run : |
103+ echo "version=$(node --print 'process.version.slice(1)')" >> "$GITHUB_OUTPUT"
102104
103- # - name: Set up QEMU
104- # uses: docker/setup-qemu-action@v3
105+ - name : Set up QEMU
106+ uses : docker/setup-qemu-action@v3
107+ with :
108+ image : tonistiigi/binfmt@sha256:66e11bea77a5ea9d6f0fe79b57cd2b189b5d15b93a2bdb925be22949232e4e55
105109
106- # - name: Set up Docker Buildx
107- # uses: docker/setup-buildx-action@v3
108- # with:
109- # driver-opts: image=moby/buildkit: v0.18.1
110- # version: v0.19 .2
111-
112- # - name: Run Buildx
113- # run: |
114- # docker buildx create --name builder --bootstrap --use
115- # docker --debug buildx build --progress=plain --no-cache \
116- # --platform linux/${{ matrix.linux_arch }} \
117- # --build-arg="PLATFORM=${{ matrix.linux_arch == 'arm64' && 'arm64v8' || matrix.linux_arch }}" \
118- # --build-arg="NODE_VERSION=${{ steps.get_nodejs_version.outputs.version }}" \
119- # --build-arg="RUN_TEST=true" \
120- # --output type=local,dest=./prebuilds,platform-split=false \
121- # -f ./.github/docker/Dockerfile.musl \
122- # .
110+ - name : Set up Docker Buildx
111+ uses : docker/setup-buildx-action@v3
112+ with :
113+ version : v0.18.0
114+ driver-opts : image=moby/buildkit: v0.17 .2
115+
116+ - name : Run Buildx
117+ run : |
118+ docker buildx create --name builder --bootstrap --use
119+ docker --debug buildx build --progress=plain --no-cache \
120+ --platform linux/${{ matrix.linux_arch }} \
121+ --build-arg="PLATFORM=${{ matrix.linux_arch == 'arm64' && 'arm64v8' || matrix.linux_arch }}" \
122+ --build-arg="NODE_VERSION=${{ steps.get_nodejs_version.outputs.version }}" \
123+ --build-arg="RUN_TEST=true" \
124+ --output type=local,dest=./prebuilds,platform-split=false \
125+ -f ./.github/docker/Dockerfile.musl \
126+ .
0 commit comments