Fix container id discovery on environments like GitHub Actions #14
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ci | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
test: | |
strategy: | |
fail-fast: false | |
matrix: | |
docker-version: ["18.09", "19.03", "20.10", "23", "24", latest] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- run: | | |
docker version | |
docker info | |
- run: | | |
if [[ '${{ runner.debug }}' == 1 ]]; then | |
export DEBUG=true | |
export DOND_SHIM_DEBUG=true | |
fi | |
export DOND_SHIM_DEBUG=true | |
scripts/test.sh '${{ matrix.docker-version }}' | |
result: | |
needs: test | |
runs-on: ubuntu-latest | |
steps: | |
- run: | | |
echo "All tests passed!" |