Fix Docker API version incompatibility by removing forced default version #14931
Workflow file for this run
This file contains hidden or 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-Docker-Wormhole | |
| on: | |
| pull_request: | |
| paths-ignore: | |
| - '.github/ISSUE_TEMPLATE/*.yaml' | |
| - '.github/CODEOWNERS' | |
| - '.github/pull_request_template.md' | |
| - 'docs/**/*.css' | |
| - 'docs/**/*.html' | |
| - 'docs/**/*.ico' | |
| - 'docs/**/*.md' | |
| - 'docs/**/*.png' | |
| - 'docs/**/*.svg' | |
| - 'mkdocs.yml' | |
| - 'README.md' | |
| - 'RELEASING.md' | |
| - '.sdkmanrc' | |
| push: | |
| branches: [ main ] | |
| paths-ignore: | |
| - '.github/ISSUE_TEMPLATE/*.yaml' | |
| - '.github/CODEOWNERS' | |
| - '.github/pull_request_template.md' | |
| - 'docs/**/*.css' | |
| - 'docs/**/*.html' | |
| - 'docs/**/*.ico' | |
| - 'docs/**/*.md' | |
| - 'docs/**/*.png' | |
| - 'docs/**/*.svg' | |
| - 'mkdocs.yml' | |
| - 'README.md' | |
| - 'RELEASING.md' | |
| - '.sdkmanrc' | |
| concurrency: | |
| group: "${{ github.workflow }}-${{ github.head_ref || github.sha }}" | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| jobs: | |
| in-docker_test: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Build with Gradle | |
| run: | | |
| docker run -i --rm \ | |
| -v /var/run/docker.sock:/var/run/docker.sock \ | |
| -v "$HOME:$HOME" \ | |
| -v "$PWD:$PWD" \ | |
| -w "$PWD" \ | |
| -e AUTO_APPLY_GIT_HOOKS=false \ | |
| eclipse-temurin:17-jdk-alpine \ | |
| ./gradlew --no-daemon --continue --scan testcontainers:test --tests '*GenericContainerRuleTest' |