Fix flaky networking for real #337
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: prepare_docker.bash | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: | |
image: ubuntu:20.04 | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v2 | |
- name: Prepare Docker | |
shell: bash # Avoids "Illegal option -o pipefail" | |
run: ./scripts/prepare_docker.bash | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Prepare Docker again (test idempotency) | |
shell: bash # Avoids "Illegal option -o pipefail" | |
run: ./scripts/prepare_docker.bash |