Skip to content

Commit

Permalink
move test command
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanwi committed May 1, 2024
1 parent 4bee1ca commit 2784510
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/actions/docker/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -145,9 +145,10 @@ runs:
run: |
docker images
echo "Starting container for image: ${{ steps.meta.outputs.tags }}"
docker run -d --rm --name test ${{ fromJSON(steps.meta.outputs.json).tags[0] }} ${{ inputs.CONTAINER_TEST_COMMAND }}
docker run -d --rm --name test ${{ fromJSON(steps.meta.outputs.json).tags[0] }}
sleep 20
docker logs test
${{ inputs.CONTAINER_TEST_COMMAND }}
# docker logs test
# test > logs.txt
# EXECUTIONLOG=$(cat logs.txt)
# EXECUTIONLOG="${EXECUTIONLOG//'%'/'%25'}"
Expand Down

0 comments on commit 2784510

Please sign in to comment.