Skip to content

Commit e3d6eb2

Browse files
committed
ci: print build result to github actions summary
Signed-off-by: Shengqi Chen <[email protected]>
1 parent fa5ec6f commit e3d6eb2

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/docker-images.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,5 +160,9 @@ jobs:
160160
working-directory: ${{ runner.temp }}/digests
161161
run: |
162162
for i in *; do
163-
docker buildx imagetools inspect "tunathu/$i:${{ steps.docker_tag.outputs.docker_tag }}"
163+
DOCKER_IMG="tunathu/$i:${{ steps.docker_tag.outputs.docker_tag }}"
164+
echo "## $DOCKER_IMG" >> $GITHUB_STEP_SUMMARY
165+
echo "```" >> $GITHUB_STEP_SUMMARY
166+
docker buildx imagetools inspect "$DOCKER_IMG" | tee -a $GITHUB_STEP_SUMMARY
167+
echo "```" >> $GITHUB_STEP_SUMMARY
164168
done

0 commit comments

Comments
 (0)