diff --git a/.github/workflows/test-docker-build.yml b/.github/workflows/test-docker-build.yml new file mode 100644 index 0000000..c360897 --- /dev/null +++ b/.github/workflows/test-docker-build.yml @@ -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 . \ No newline at end of file