.github/workflows/docker.yaml
raw| 1 | name: dockerfile |
| 2 | |
| 3 | on: |
| 4 | workflow_dispatch: |
| 5 | push: |
| 6 | tags: |
| 7 | - 'v*' |
| 8 | pull_request: |
| 9 | branches: [ master ] |
| 10 | |
| 11 | jobs: |
| 12 | dockerfile: |
| 13 | name: Run Dockerfiles in examples |
| 14 | runs-on: ubuntu-latest |
| 15 | steps: |
| 16 | - uses: actions/checkout@v6 |
| 17 | |
| 18 | - name: Run example - simple |
| 19 | run: | |
| 20 | docker build -t simple -f ./_example/simple/Dockerfile . |
| 21 | docker run simple | grep 99\ こんにちは世界099 |