-
-
Notifications
You must be signed in to change notification settings - Fork 289
48 lines (46 loc) · 1.03 KB
/
runtime-docker.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
name: Docker Test
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * 5'
push:
branches:
- main
- develop
- docker/*
pull_request:
branches:
- main
- develop
jobs:
docker-test:
runs-on: ubuntu-latest
strategy:
matrix:
runtime:
- alpine
- archlinux
- centos
- clearlinux
- debian
- fedora
- mingw
- ubuntu
- quickstart
name: Docker ${{ matrix.runtime }}
steps:
- name: checkout
uses: actions/checkout@v4
- name: ${{ matrix.runtime }}
shell: 'script -q -e -c "bash {0}"'
run: bash ./test/runtime --driver docker --build --run ${{ matrix.runtime }}
example-docker:
runs-on: ubuntu-latest
name: Test Dockerfile on the repo root
steps:
- name: checkout
uses: actions/checkout@v4
- name: Build
run: docker build . -t otiai10/gosseract
- name: Test Run
run: docker run -i --rm otiai10/gosseract