Add Docker Build Check workflow and update Dockerfile syntax and commands

This commit is contained in:
Joakim Hellsén 2025-04-14 10:09:24 +02:00
commit 63b466c9ab
No known key found for this signature in database
GPG key ID: D196AE66FEBE1DC9
2 changed files with 21 additions and 2 deletions

19
.github/workflows/docker-check.yml vendored Normal file
View file

@ -0,0 +1,19 @@
name: Docker Build Check
on:
push:
paths:
- 'Dockerfile'
pull_request:
paths:
- 'Dockerfile'
jobs:
docker-check:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Run Docker Build Check
run: docker build --check .