Skip to content

Commit

Permalink
Enhancement (ci): Add docker build --progress plain to output full …
Browse files Browse the repository at this point in the history
…build log in terminal (#119)

This fixes the `buildx` output being truncated in a terminal, especially in development environments.

Co-authored-by: leo <leonardjonathanoh@live.com>
  • Loading branch information
leojonathanoh authored Mar 7, 2023
1 parent a64d202 commit 7109676
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ if [ "$PIPELINE" = 'build' ]; then
fi
date
time docker build \
--progress plain \
--secret id=STEAM_USERNAME,env=STEAM_USERNAME \
--secret id=STEAM_PASSWORD,env=STEAM_PASSWORD \
--build-arg APPID="$APPID" \
Expand Down Expand Up @@ -161,6 +162,7 @@ elif [ "$PIPELINE" = 'update' ]; then
fi
date
time docker build \
--progress plain \
--secret id=STEAM_USERNAME,env=STEAM_USERNAME \
--secret id=STEAM_PASSWORD,env=STEAM_PASSWORD \
--build-arg GAME_IMAGE="$GAME_IMAGE" \
Expand Down

0 comments on commit 7109676

Please sign in to comment.