-
Notifications
You must be signed in to change notification settings - Fork 22
41 lines (34 loc) · 1.13 KB
/
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
name: docker
on:
workflow_dispatch: {}
schedule:
- cron: '0 0 * * 0' # once a week
push:
branches: [master]
paths:
- Dockerfile
- .github/workflows/docker.yml
pull_request:
types: [opened, synchronize]
paths:
- Dockerfile
- .github/workflows/docker.yml
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
jobs:
dockerfile:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: hadolint/[email protected]
with:
dockerfile: build_tools/docker/slim.Dockerfile
- uses: hadolint/[email protected]
with:
dockerfile: build_tools/docker/full.Dockerfile
- name: Build image - slim
run: docker build -f build_tools/docker/slim.Dockerfile -t video-compositor .
- name: Build image - full
run: docker build -f build_tools/docker/full.Dockerfile -t video-compositor .