Skip to content

Commit c631361

Browse files
sblomAndrew Gibson
authored andcommitted
Add GitHub action workflow to test Dockerfile
1 parent 64f02a5 commit c631361

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/docker.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: docker
2+
3+
on:
4+
push:
5+
branches: [master]
6+
tags: ["*"]
7+
pull_request:
8+
branches: [master]
9+
10+
jobs:
11+
docker:
12+
name: build & run tests
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v2
16+
with:
17+
fetch-depth: 0
18+
- name: docker build
19+
run: docker build -t json-ld.net .
20+
- name: docker test
21+
run: docker run --rm json-ld.net dotnet test

0 commit comments

Comments
 (0)