Skip to content

Commit 6eefb51

Browse files
ci: show the Docker image size
1 parent d7ad566 commit 6eefb51

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ jobs:
3636
run: |
3737
docker tag opensourcecobol/opensourcecobol4j:"$version_string_prefix" opensourcecobol/opensourcecobol4j:latest
3838
39+
- name: Show Docker image size
40+
run: |
41+
docker images opensourcecobol/opensourcecobol4j:"$version_string_prefix" --format "table {{.Repository}}:{{.Tag}}\t{{.Size}}"
42+
3943
- name: Check the version of installed software
4044
run: |
4145
docker run --rm opensourcecobol/opensourcecobol4j:latest sh -c "cobj --version | grep 'opensource COBOL 4J $opensource_COBOL_4J_version'"
@@ -73,6 +77,10 @@ jobs:
7377
docker build -t opensourcecobol/opensourcecobol4j:utf8-"$version_string_prefix" . -f utf8.Dockerfile \
7478
--build-arg opensource_COBOL_4J_version="$opensource_COBOL_4J_version"
7579
80+
- name: Show Docker image size
81+
run: |
82+
docker images opensourcecobol/opensourcecobol4j:utf8-"$version_string_prefix" --format "table {{.Repository}}:{{.Tag}}\t{{.Size}}"
83+
7684
- name: Check the version of installed software
7785
run: |
7886
docker run --rm opensourcecobol/opensourcecobol4j:utf8-"$version_string_prefix" sh -c "cobj --version | grep 'opensource COBOL 4J $opensource_COBOL_4J_version'"

0 commit comments

Comments
 (0)