fix: missing the container exit code check (#468)
Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
This commit is contained in:
parent
a11b7ff550
commit
c0d9a8af62
|
@ -1,4 +1,5 @@
|
|||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
docker-compose version
|
||||
|
||||
|
@ -6,5 +7,5 @@ targets=(golang java python javascript curl)
|
|||
for target in "${targets[@]}"
|
||||
do
|
||||
docker-compose down
|
||||
docker-compose up --build $target
|
||||
docker-compose up --build $target --exit-code-from $target
|
||||
done
|
||||
|
|
Loading…
Reference in New Issue