mirror of
https://github.com/zed-industries/zed.git
synced 2024-09-16 00:47:39 +03:00
Add docker system prune
command
This will hopefully keep the system drive cleaned up so we don't run issues with not enough disk space.
This commit is contained in:
parent
af21546a43
commit
6c45be2dc4
7
.github/workflows/publish_collab_image.yml
vendored
7
.github/workflows/publish_collab_image.yml
vendored
@ -11,7 +11,7 @@ env:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
publish:
|
publish:
|
||||||
name: Publish collab server image
|
name: Publish collab server image
|
||||||
runs-on:
|
runs-on:
|
||||||
- self-hosted
|
- self-hosted
|
||||||
- deploy
|
- deploy
|
||||||
@ -22,6 +22,9 @@ jobs:
|
|||||||
- name: Sign into DigitalOcean docker registry
|
- name: Sign into DigitalOcean docker registry
|
||||||
run: doctl registry login
|
run: doctl registry login
|
||||||
|
|
||||||
|
- name: Prune Docker system
|
||||||
|
run: docker system prune
|
||||||
|
|
||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
@ -41,6 +44,6 @@ jobs:
|
|||||||
|
|
||||||
- name: Build docker image
|
- name: Build docker image
|
||||||
run: docker build . --tag registry.digitalocean.com/zed/collab:v${COLLAB_VERSION}
|
run: docker build . --tag registry.digitalocean.com/zed/collab:v${COLLAB_VERSION}
|
||||||
|
|
||||||
- name: Publish docker image
|
- name: Publish docker image
|
||||||
run: docker push registry.digitalocean.com/zed/collab:v${COLLAB_VERSION}
|
run: docker push registry.digitalocean.com/zed/collab:v${COLLAB_VERSION}
|
||||||
|
Loading…
Reference in New Issue
Block a user