Skip to content

Commit a839d97

Browse files
committed
#369 Fix printing of Docker images
1 parent b6478a0 commit a839d97

2 files changed

Lines changed: 9 additions & 4 deletions

File tree

.github/workflows/build-artifacts.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ jobs:
6969
run: |
7070
./gradlew dockerPush -Ddocker.image.additional.tags=${{ github.sha }}
7171
docker pull "ghcr.io/aim42/hsc:${{ github.sha }}"
72+
echo "Docker Images:"
7273
docker images
7374
7475
- name: Cache SonarCloud packages
@@ -96,6 +97,8 @@ jobs:
9697
- name: Collect state upon failure
9798
if: failure()
9899
run: |
100+
echo "Docker Images:"
101+
docker images
99102
echo "Git:"
100103
git status
101104
echo "Env:"
@@ -105,4 +108,3 @@ jobs:
105108
echo "Files:"
106109
find * -ls
107110
./gradlew javaToolchains
108-
docker images

.github/workflows/gradle-build.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ jobs:
3939
run: |
4040
tag="${{ github.sha }}"
4141
docker pull "ghcr.io/aim42/hsc:${tag}"
42-
docker images | grep hsc
42+
echo "Docker Images:"
43+
docker images
4344
docker tag "ghcr.io/aim42/hsc:${tag}" ghcr.io/aim42/hsc:v2
4445
4546
- name: Download Artifacts
@@ -70,6 +71,8 @@ jobs:
7071
- name: Collect state upon failure
7172
if: failure()
7273
run: |
74+
echo "Docker Images:"
75+
docker images
7376
echo "Git:"
7477
git status
7578
echo "Env:"
@@ -79,7 +82,6 @@ jobs:
7982
echo "Files:"
8083
find * -ls
8184
./gradlew javaToolchains
82-
docker images
8385
8486
post-build:
8587
needs: build-artifacts
@@ -168,6 +170,8 @@ jobs:
168170
- name: Collect state upon failure
169171
if: failure()
170172
run: |
173+
echo "Docker Images:"
174+
docker images
171175
echo "Maven Repo:"
172176
(cd $HOME && find .m2 -ls)
173177
echo "Git:"
@@ -179,4 +183,3 @@ jobs:
179183
echo "Files:"
180184
find * -ls
181185
./gradlew javaToolchains
182-
docker images

0 commit comments

Comments
 (0)