Skip to content

Commit

Permalink
fixup! ci(github): DEBUG Disk space usage
Browse files Browse the repository at this point in the history
  • Loading branch information
rpatterson committed Feb 22, 2024
1 parent eda8c36 commit f14bfa5
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,20 @@ jobs:
DOCKER_OSES: "${{ matrix.DOCKER_OSES }}"
DOCKER_LANGUAGES: "${{ matrix.DOCKER_LANGUAGES }}"
steps:
- name: "DEBUG: Disk space usage"
run: >-
mkdir -pv './var/log/' &&
docker system df &&
docker image ls -a --format
'{{.CreatedAt}} {{.Repository}}:{{.Tag}} {{.CreatedSince}} {{.Size}}'
| sort | tee './var/log/docker-images.tsv' | head -n 1000
- name: "DEBUG: Upload docker image sizes"
uses: "actions/upload-artifact@master"
with:
name: "docker-images"
path: |
./var/log/docker-images.tsv
# Shared or common set up:
- name: "Checkout source from VCS"
uses: "actions/checkout@master"
Expand Down

0 comments on commit f14bfa5

Please sign in to comment.