Skip to content

Commit 8cdebaa

Browse files
authored
Update docker-build-push.yml
1 parent 9f3a399 commit 8cdebaa

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/docker-build-push.yml

+9-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66

77
jobs:
88
build-and-push:
9-
runs-on: ubuntu-latest
9+
runs-on: ubuntu-latest-xl
1010
steps:
1111
- name: Checkout code
1212
uses: actions/checkout@v2
@@ -26,3 +26,11 @@ jobs:
2626
context: .
2727
push: true
2828
tags: ${{ secrets.DOCKERHUB_USERNAME }}/worker-sglang:latest
29+
cache-from: type=gha
30+
cache-to: type=gha,mode=max
31+
32+
- name: Cleanup
33+
if: always()
34+
run: |
35+
docker system prune -af
36+
df -h

0 commit comments

Comments
 (0)