Skip to content

Commit

Permalink
add additional disk info and push trigger for new build for PLT team
Browse files Browse the repository at this point in the history
  • Loading branch information
lukey-luke committed Feb 6, 2025
1 parent f1ba69e commit 7c197ee
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion .github/workflows/docker_build.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
name: Docker Build

on:
workflow_dispatch:
# workflow_dispatch:
push:


permissions:
id-token: write
Expand Down Expand Up @@ -31,6 +33,17 @@ jobs:
env:
MAKE_COMMAND: ${{ matrix.make_command }}
steps:
- name: check disk
run: lsblk && df -h
- name: check docker disk usage (1 of 4)
run: docker system df
- name: check docker disk usage (2 of 4)
run: docker images -f "dangling=true"
- name: check docker disk usage (3 of 4)
run: docker ps -a --filter "status=exited"
- name: check docker disk usage (4 of 4)
run: docker volume ls -qf dangling=true

- name: Install python3
run: sudo dnf install python3

Expand Down Expand Up @@ -64,6 +77,17 @@ jobs:
REPOSITORY: ${{ matrix.repository }}
needs: docker_build_rails_apps
steps:
- name: check disk
run: lsblk && df -h
- name: check docker disk usage (1 of 4)
run: docker system df
- name: check docker disk usage (2 of 4)
run: docker images -f "dangling=true"
- name: check docker disk usage (3 of 4)
run: docker ps -a --filter "status=exited"
- name: check docker disk usage (4 of 4)
run: docker volume ls -qf dangling=true

- name: Download artifact
uses: actions/download-artifact@v4
with:
Expand Down

0 comments on commit 7c197ee

Please sign in to comment.