Skip to content

Commit 12153f7

Browse files
authored
Print docker history summary in build actions (#898)
It is useful to know what the size of each layer is after the image has been built.
1 parent d963389 commit 12153f7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,10 @@ jobs:
102102
run: |
103103
docker images discourse/base
104104
105+
- name: Print `docker history` summary for main branch image
106+
run: |
107+
docker history discourse/base:2.0.${{ env.TIMESTAMP }}-main-${{ matrix.arch }}
108+
105109
- name: Print compressed summary
106110
if: github.event_name == 'pull_request' && matrix.arch == 'amd64'
107111
run: |

0 commit comments

Comments
 (0)