feat: simple example of Dockerfile w/ multi-stage build
This commit is contained in:
22
.github/workflows/docker.yaml
vendored
Normal file
22
.github/workflows/docker.yaml
vendored
Normal 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
|
||||
Reference in New Issue
Block a user