Skip to content

Commit fd5b69a

Browse files
committed
Enable 32bit ARM builds for Node v18
1 parent 160e117 commit fd5b69a

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/main.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,12 @@ jobs:
119119
fi
120120
fi
121121
122+
if [[ "${{ matrix.node }}" == "18"]]; then
123+
echo "platorms=linux/amd64,linux/arm/v7,linux/arm64" >> $GITHUB_OUTPUT
124+
else
125+
echo "platorms=linux/amd64,linux/arm64" >> $GITHUB_OUTPUT
126+
fi
127+
122128
echo $TAGS
123129
echo "tags=$TAGS" >> $GITHUB_OUTPUT
124130
echo "push=$PUSH" >> $GITHUB_OUTPUT
@@ -143,7 +149,7 @@ jobs:
143149
uses: docker/build-push-action@v5
144150
with:
145151
context: .
146-
platforms: linux/amd64, linux/arm64
152+
platforms: ${{ steps.nrVersion.outputs.platforms }}
147153
push: ${{ steps.nrVersion.outputs.push }}
148154
file: .docker/Dockerfile.alpine
149155
build-args: |

0 commit comments

Comments
 (0)