From 91f94890146f3fe9c1c31134926904d48be0c54a Mon Sep 17 00:00:00 2001 From: Ryan Williams Date: Wed, 1 May 2024 15:52:29 -0700 Subject: [PATCH] container test command --- .github/actions/docker/action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/docker/action.yml b/.github/actions/docker/action.yml index 99634403..1efd218c 100644 --- a/.github/actions/docker/action.yml +++ b/.github/actions/docker/action.yml @@ -151,10 +151,10 @@ runs: echo "Starting container for image: ${{ steps.meta.outputs.tags }}" docker run -d --rm --name test ${{ fromJSON(steps.meta.outputs.json).tags[0] }} sleep 20 + docker ps docker logs test - curl --fail --silent --location 'http://localhost:3000/healthcheck' + ${{ inputs.CONTAINER_TEST_COMMAND }} - # ${{ inputs.CONTAINER_TEST_COMMAND }} # docker logs test # test > logs.txt # EXECUTIONLOG=$(cat logs.txt)