Skip to content

Commit 3a1e2fc

Browse files
committed
Use QEMU builds
1 parent 54e3731 commit 3a1e2fc

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/publish-docker.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,24 +20,32 @@ jobs:
2020
steps:
2121
- name: Checkout code
2222
uses: actions/checkout@v4
23+
2324
- name: Remove bulky directories from workspace
2425
run: |
2526
echo "Before cleanup:" && df -h
26-
rm -rf htmlcov site eval_reports artifacts artifacts_tmp_for_test _tmp_artifacts ui redis-docs/build
27+
rm -rf htmlcov site eval_reports artifacts artifacts_tmp_for_test _tmp_artifacts redis-docs/build \
28+
ui/node_modules ui/ui-kit
2729
echo "After cleanup:" && df -h
2830
2931
3032
33+
34+
- name: Set up QEMU (for cross-arch builds)
35+
uses: docker/setup-qemu-action@v3
36+
with:
37+
platforms: arm64
38+
3139
- name: Set up Docker Buildx
3240
uses: docker/setup-buildx-action@v3
41+
3342
- name: Prune Docker disk space
3443
run: |
3544
docker builder prune -af || true
3645
docker system prune -af || true
3746
df -h
3847
3948
40-
4149
- name: Log in to Docker Hub
4250
uses: docker/login-action@v3
4351
with:

0 commit comments

Comments
 (0)