From 3eee15bb5b1a7a691c233d55fae4d0d3b90d5b5a Mon Sep 17 00:00:00 2001 From: Canzhen Zhou Date: Fri, 22 Dec 2023 01:02:07 +0000 Subject: [PATCH] fix: docker compose down --- integration-test/action.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/integration-test/action.yaml b/integration-test/action.yaml index 021dcdb..6cbde8d 100644 --- a/integration-test/action.yaml +++ b/integration-test/action.yaml @@ -32,7 +32,7 @@ runs: DOCKER_BUILDKIT: "1" GITHUB_TOKEN: ${{ inputs.github-token }} run: | - docker compose down -v -f ${{ inputs.docker-compose-file }} \ + docker compose -f ${{ inputs.docker-compose-file }} down -v \ && docker compose -f ${{ inputs.docker-compose-file }} up --build --exit-code-from test ${{ inputs.full-compose-output == 'false' && 'test' || '' }} echo '::set-output name=docker_up::true' - name: Cleanup @@ -40,4 +40,4 @@ runs: shell: bash env: DOCKER_BUILDKIT: "1" - run: docker compose down -v -f ${{ inputs.docker-compose-file }} + run: docker compose -f ${{ inputs.docker-compose-file }} down -v