feat: simple example of Dockerfile w/ multi-stage build

This commit is contained in:
KEINOS
2022-05-17 14:09:50 +09:00
committed by mattn
parent aa1e904220
commit c122302862
2 changed files with 67 additions and 0 deletions

22
.github/workflows/docker.yaml vendored Normal file
View File

@@ -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