Add retry logic for getting default interface #178
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: Run Docker | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Build the container | |
| run: docker build -f test/Dockerfile . -t sitespeedio/throttle | |
| - name: Test Throttle | |
| run: docker run --cap-add=NET_ADMIN sitespeedio/throttle |