fix: missing the container exit code check (#468)

Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
This commit is contained in:
Rick 2024-05-31 21:58:53 +08:00 committed by GitHub
parent a11b7ff550
commit c0d9a8af62
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -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