The v0.2.0 release log was 17k lines, ~12k of which were BuildKit's animated progress display repainting itself with cursor-movement escapes. --progress=plain emits one line per event instead. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
3e183b220c
commit
6c73a91b8e
1 file changed
+7
-1
@@ -30,10 +30,16 @@ jobs:
|
||||
-u '${{ gitea.actor }}' --password-stdin
|
||||
|
||||
- name: Build and push image
|
||||
env:
|
||||
DOCKER_BUILDKIT: '1'
|
||||
run: |
|
||||
IMAGE='${{ steps.meta.outputs.image }}'
|
||||
VERSION='${{ steps.meta.outputs.version }}'
|
||||
docker build -t "$IMAGE:$VERSION" -t "$IMAGE:latest" .
|
||||
# --progress=plain: without it BuildKit renders an animated TTY
|
||||
# progress display, repainting every step on each frame. In a log
|
||||
# file that became ~15k lines of cursor-movement escapes for a
|
||||
# build that only has a few hundred lines of real output.
|
||||
docker build --progress=plain -t "$IMAGE:$VERSION" -t "$IMAGE:latest" .
|
||||
docker push "$IMAGE:$VERSION"
|
||||
docker push "$IMAGE:latest"
|
||||
|
||||
|
||||
Reference in new issue
Block a user