Skip to content

Commit

Permalink
Get TTY when building Docker images
Browse files Browse the repository at this point in the history
  • Loading branch information
michaliskambi committed Jun 16, 2024
1 parent 671de12 commit c2e0caf
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/update-docker-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,11 @@ on:

defaults:
run:
shell: bash
# shell: bash
# We need TTY to execute Docker commands.
# GitHub Actions run without a TTY device. This is a workaround to get one,
# based on https://github.com/actions/runner/issues/241#issuecomment-2019042651
shell: 'script --return --quiet --log-out /dev/null --command "bash -e {0}"'

jobs:
build:
Expand Down

0 comments on commit c2e0caf

Please sign in to comment.