Skip to content

Commit

Permalink
show disk usage on hostmachine running GH workflow before & after build
Browse files Browse the repository at this point in the history
  • Loading branch information
capsulecorplab committed Mar 29, 2024
1 parent ade1363 commit dcef6c5
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/main.yml
Expand Up @@ -56,12 +56,18 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GHCR_AUTH_TOKEN }}

- name: Show disk usage before build
run: df -h

- name: Build image
uses: docker/build-push-action@v4.0.0
with:
tags: ${{ steps.docker_meta.outputs.tags }}
file: ./Dockerfile


- name: Show disk usage after build
run: df -h

- name: Push image
uses: docker/build-push-action@v4.0.0
with:
Expand Down

0 comments on commit dcef6c5

Please sign in to comment.