Add logging for disk space at GitHub Actions workflow

This commit is contained in:
Andrey Danilov
2024-06-05 17:54:16 +03:00
parent 4d82de9d5b
commit b644cdaa2d
+10
View File
@@ -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