Add logging for disk space at GitHub Actions workflow
This commit is contained in:
@@ -13,9 +13,15 @@ jobs:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Check Disk Space after Checkout
|
||||
run: df -h
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v2
|
||||
|
||||
- name: Check Disk Space after Set up Docker Buildx
|
||||
run: df -h
|
||||
|
||||
- name: Log in to GitHub Container Registry
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
@@ -37,3 +43,7 @@ jobs:
|
||||
tags: |
|
||||
ghcr.io/${{ steps.repository-lowercase.outputs.lowercase }}:${{ github.ref_name }}
|
||||
ghcr.io/${{ steps.repository-lowercase.outputs.lowercase }}:latest
|
||||
|
||||
- name: Check Disk Space on workflow failure
|
||||
if: failure()
|
||||
run: df -h
|
||||
|
||||
Reference in New Issue
Block a user