fix CI 3
This commit is contained in:
@@ -52,12 +52,13 @@ trap 'exit 143' TERM
|
||||
|
||||
# Build the app image with buildx directly instead of through compose: compose delegates
|
||||
# builds to bake, which fails on the CI runner with "failed to find target default". The
|
||||
# image name matches `image:` in docker-compose.yml, so `run` below finds it and never
|
||||
# image names match `image:` in docker-compose.yml, so `run` below finds them and never
|
||||
# builds. DEPS_ALIASES must match build.args in docker-compose.coverage.yml.
|
||||
docker buildx build --load \
|
||||
--build-arg "DEPS_ALIASES=run${COVERAGE:+:cov}" \
|
||||
-t vibe-app-integration \
|
||||
-f "$root/Dockerfile" "$root"
|
||||
docker buildx build --load -t vibe-integration-test "$root/integration-test"
|
||||
|
||||
# `run` returns the test container's own exit code; `up --abort-on-container-exit` can leak
|
||||
# the app's SIGTERM exit (143) during teardown instead.
|
||||
|
||||
Reference in New Issue
Block a user