Skip to content

Commit 758cb17

Browse files
authored
[ci] Attempt to fix create_release for arm64 linux (WebAssembly#7266)
This was supposed to be part of WebAssembly#7258
1 parent 6fe5103 commit 758cb17

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/create_release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,10 @@ jobs:
119119

120120
- name: start docker
121121
run: |
122-
docker run -w /src -dit --name alpine -v $PWD:/src node:lts-alpine
122+
if [[ "${{ matrix.docker_platform }}" == "ubuntu-24.04-arm" ]]; then
123+
platform="--platform=linux/arm64"
124+
fi
125+
docker run -w /src -dit $platform --name alpine -v $PWD:/src node:lts-alpine
123126
echo 'docker exec alpine "$@";' > ./alpine.sh
124127
chmod +x ./alpine.sh
125128

0 commit comments

Comments
 (0)