diff options
| author | KEINOS <github@keinos.com> | 2022-05-17 14:09:50 +0900 |
|---|---|---|
| committer | mattn <mattn.jp@gmail.com> | 2022-05-18 11:53:00 +0900 |
| commit | c1223028624d0ce67e5da5ed5a48d68cdc8d72ee (patch) | |
| tree | a889c8b75df9c0d8991138f99b965d7e6c67346b /.github | |
| parent | Update amalgamation code (diff) | |
| download | golite-c1223028624d0ce67e5da5ed5a48d68cdc8d72ee.tar.gz golite-c1223028624d0ce67e5da5ed5a48d68cdc8d72ee.tar.xz | |
feat: simple example of Dockerfile w/ multi-stage build
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/docker.yaml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/.github/workflows/docker.yaml b/.github/workflows/docker.yaml new file mode 100644 index 0000000..f2393e6 --- /dev/null +++ b/.github/workflows/docker.yaml @@ -0,0 +1,22 @@ +name: dockerfile + +on: + workflow_dispatch: + push: + tags: + - 'v*' + pull_request: + branches: [ master ] + +jobs: + dockerfile: + name: Run Dockerfiles in examples + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - name: Run example - simple + run: | + cd ./_example/simple + docker build -t simple . + docker run simple | grep 99\ こんにちわ世界099 |
