Skip to content

Commit

Permalink
Enhancement (ci): Print only relevant docker images and print tags …
Browse files Browse the repository at this point in the history
…at end of successful build
  • Loading branch information
leojonathanoh committed Dec 4, 2023
1 parent e6b28e0 commit 4eec06c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ elif [ "$PIPELINE" = 'update' ]; then
"$BUILD_CONTEXT"
date -Iseconds
fi
docker images
docker images "$DOCKER_REPOSITORY"
docker inspect "$GAME_IMAGE"
docker history "$GAME_IMAGE"

Expand Down Expand Up @@ -362,3 +362,7 @@ EOF
cat .build.state
ls -al .build.state
date -Iseconds

echo
echo "Success:"
docker inspect "$GAME_IMAGE" --format='{{ range .RepoTags }}{{ printf "%s\n" . }}{{ end }}'

0 comments on commit 4eec06c

Please sign in to comment.