Skip to content

Commit

Permalink
Print docker history summary in build actions
Browse files Browse the repository at this point in the history
It is useful to know what the size of each layer is after the image has
been built.
  • Loading branch information
tgxworld committed Dec 18, 2024
1 parent d963389 commit e653488
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,10 @@ jobs:
run: |
docker images discourse/base
- name: Print `docker history` summary for main branch image
run: |
docker history discourse/base:2.0.${{ env.TIMESTAMP }}-main-${{ matrix.arch }}
- name: Print compressed summary
if: github.event_name == 'pull_request' && matrix.arch == 'amd64'
run: |
Expand Down

0 comments on commit e653488

Please sign in to comment.