Skip to content

Commit

Permalink
fix(workflow): non interactive docker run
Browse files Browse the repository at this point in the history
  • Loading branch information
qjerome authored Nov 29, 2024
1 parent 123170c commit 3a4a671
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Build Kunai
run: |
set -euxo pipefail
docker run -it --name japanese_knife -v $PWD/kunai:/kunai-src -w /kunai-src kunai-build:$(date +%s) cargo xbuild
docker run -t --name japanese_knife -v $PWD/kunai:/kunai-src -w /kunai-src kunai-build:$(date +%s) cargo xbuild
exit_code=$(docker container inspect --format '{{.State.ExitCode}}' japanese_knife)
docker container rm japanese_knife
exit $exit_code

0 comments on commit 3a4a671

Please sign in to comment.