Skip to content

docker

docker #57

Workflow file for this run

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 .