Added new github action to find compile errors on commits to main
This commit is contained in:
parent
02cf5e99e5
commit
718342d532
1 changed files with 22 additions and 0 deletions
22
.github/workflows/test-docker-build.yml
vendored
Normal file
22
.github/workflows/test-docker-build.yml
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
name: Test Build
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
pull_request:
|
||||
types:
|
||||
- closed
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Build Docker image
|
||||
run: docker build -t moonlightpanel/moonlight:${{ github.sha }} -f Moonlight/Dockerfile .
|
Loading…
Reference in a new issue