Skip to content

Commit

Permalink
Fix logging
Browse files Browse the repository at this point in the history
  • Loading branch information
kwankyu committed Mar 6, 2025
1 parent 1293cfd commit 8efd55f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .ci/write-dockerfile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ case ${DOCKER_BUILDKIT-0} in
# With buildkit we cannot retrieve failed builds.
# So we do not allow the main step of a build stage to fail.
# Instead we record the exit code in the file STATUS.
THEN_SAVE_STATUS=' ; echo $? > STATUS'
THEN_SAVE_STATUS=' ; echo $? > STATUS; exit 0'
# ... and at the beginning of the next build stage,
# we check the status and exit with an error status.
CHECK_STATUS_THEN=' STATUS=$(cat STATUS 2>/dev/null); case "$STATUS" in ""|0) ;; *) exit $STATUS;; esac;'
Expand Down

0 comments on commit 8efd55f

Please sign in to comment.