Skip to content

Commit 18d5bbb

Browse files
committed
Fix release: free disk space on Linux, Docker amd64-only build
1 parent 08e827d commit 18d5bbb

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,12 @@ jobs:
8989
needs: test
9090
runs-on: ubuntu-latest
9191
steps:
92+
- name: Free disk space
93+
run: |
94+
sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc
95+
sudo apt-get clean
96+
df -h /
97+
9298
- uses: actions/checkout@v4
9399
with:
94100
lfs: true
@@ -200,7 +206,7 @@ jobs:
200206
with:
201207
context: .
202208
push: true
203-
platforms: linux/amd64,linux/arm64
209+
platforms: linux/amd64
204210
tags: |
205211
ghcr.io/${{ github.repository_owner }}/astrolens:latest
206212
ghcr.io/${{ github.repository_owner }}/astrolens:${{ steps.version.outputs.tag }}

0 commit comments

Comments
 (0)