File tree Expand file tree Collapse file tree 2 files changed +5
-8
lines changed Expand file tree Collapse file tree 2 files changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -218,7 +218,7 @@ jobs:
218
218
# Keep in sync with build_release.yml
219
219
build-alpine :
220
220
name : alpine
221
- runs-on : ubuntu-latest
221
+ runs-on : ubuntu-24.04-arm
222
222
steps :
223
223
- uses : actions/setup-python@v5
224
224
with :
@@ -228,7 +228,7 @@ jobs:
228
228
submodules : true
229
229
- name : start docker
230
230
run : |
231
- docker run -w /src -dit --name alpine -v $PWD:/src node:lts-alpine
231
+ docker run -w /src -dit --platform=linux/arm64 -- name alpine -v $PWD:/src node:lts-alpine
232
232
echo 'docker exec alpine "$@";' > ./alpine.sh
233
233
chmod +x ./alpine.sh
234
234
Original file line number Diff line number Diff line change @@ -105,24 +105,21 @@ jobs:
105
105
# Note: Alpine uses musl libc.
106
106
build-alpine :
107
107
name : alpine
108
- runs-on : ubuntu-latest
108
+ runs-on : ${{ matrix.os }}
109
109
strategy :
110
110
matrix :
111
- docker_platform : [amd64, arm64 ]
111
+ os : [ubuntu-latest, ubuntu-24.04-arm ]
112
112
steps :
113
113
- uses : actions/setup-python@v1
114
114
with :
115
115
python-version : ' 3.x'
116
116
- uses : actions/checkout@v1
117
117
with :
118
118
submodules : true
119
- - name : Set up QEMU
120
- uses : docker/setup-qemu-action@v3
121
- if : matrix.docker_platform != 'amd64'
122
119
123
120
- name : start docker
124
121
run : |
125
- docker run -w /src -dit --platform=linux/${{ matrix.docker_platform }} -- name alpine -v $PWD:/src node:lts-alpine
122
+ docker run -w /src -dit --name alpine -v $PWD:/src node:lts-alpine
126
123
echo 'docker exec alpine "$@";' > ./alpine.sh
127
124
chmod +x ./alpine.sh
128
125
You can’t perform that action at this time.
0 commit comments