File tree Expand file tree Collapse file tree 1 file changed +38
-1
lines changed Expand file tree Collapse file tree 1 file changed +38
-1
lines changed Original file line number Diff line number Diff line change 3434 retention-days : 1
3535 compression-level : 0
3636
37- container_builds :
37+ container_builds_glibc :
3838 outputs :
3939 artifact_id : ${{ steps.upload.outputs.artifact-id }}
4040 runs-on : ubuntu-latest
6969 if-no-files-found : ' error'
7070 retention-days : 1
7171 compression-level : 0
72+
73+ container_tests_musl :
74+ runs-on : ubuntu-latest
75+ strategy :
76+ matrix :
77+ linux_arch : [amd64, arm64]
78+ node : [16.20.1, 18.x, 20.x, 22.x]
79+ fail-fast : false
80+ steps :
81+ - uses : actions/checkout@v4
82+
83+ - uses : actions/setup-node@v4
84+ with :
85+ node-version : ${{ matrix.node }}
86+
87+ - name : Get Full Node.js Version
88+ id : get_nodejs_version
89+ shell : bash
90+ run : |
91+ echo "version=$(node --print 'process.version.slice(1)')" >> "$GITHUB_OUTPUT"
92+
93+ - name : Set up QEMU
94+ uses : docker/setup-qemu-action@v3
95+
96+ - name : Set up Docker Buildx
97+ uses : docker/setup-buildx-action@v3
98+
99+ - name : Run Buildx
100+ run : |
101+ docker buildx create --name builder --bootstrap --use
102+ docker --debug buildx build --progress=plain --no-cache \
103+ --platform linux/${{ matrix.linux_arch }} \
104+ --build-arg="PLATFORM=${{ matrix.linux_arch == 'arm64' && 'arm64v8' || matrix.linux_arch }}" \
105+ --build-arg="NODE_VERSION=${{ steps.get_nodejs_version.outputs.version }}" \
106+ --output type=local,dest=./prebuilds,platform-split=false \
107+ -f ./.github/docker/Dockerfile.musl \
108+ .
You can’t perform that action at this time.
0 commit comments