2023-05-22 07:39:26 +00:00
|
|
|
name: Test Build
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
2023-05-22 07:42:21 +00:00
|
|
|
branches: [ "main" ]
|
2023-05-22 07:39:26 +00:00
|
|
|
pull_request:
|
|
|
|
types:
|
|
|
|
- closed
|
2023-05-22 07:42:21 +00:00
|
|
|
branches: [ "main" ]
|
2023-05-22 07:39:26 +00:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout code
|
|
|
|
uses: actions/checkout@v2
|
2023-05-22 07:42:21 +00:00
|
|
|
- name: Build Docker image
|
|
|
|
run: docker build -t moonlightpanel/moonlight:${{ github.sha }} -f Moonlight/Dockerfile .
|