Skip to content

Commit

Permalink
container test command
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanwi committed May 1, 2024
1 parent ee3eab2 commit 91f9489
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/actions/docker/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 91f9489

Please sign in to comment.