fix: docker build requires smtp host (#672)

set a default for smtp host and add an action
for testing docker builds on each pull request
This commit is contained in:
Lucas Smith
2023-11-22 16:26:39 +11:00
committed by GitHub
parent be0fe079a3
commit 9444e0cc67
6 changed files with 23 additions and 8 deletions

View File

@ -14,8 +14,8 @@ env:
HUSKY: 0
jobs:
build:
name: Build
build_app:
name: Build App
runs-on: ubuntu-latest
steps:
- name: Checkout
@ -37,3 +37,16 @@ jobs:
- name: Build
run: npm run build
build_docker:
name: Build Docker Image
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 2
- name: Build Docker Image
run: ./docker/build.sh