mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-22 23:30:10 +00:00
25 lines
503 B
YAML
25 lines
503 B
YAML
name: Mail Docker Build
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches-ignore:
|
|
- 'hotfix-*'
|
|
- 'release'
|
|
|
|
jobs:
|
|
# define job to build docker image
|
|
docker-build:
|
|
runs-on: ubuntu-latest
|
|
env:
|
|
CI_PIPELINE_ID: ${{github.run_number}}
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Preinstall
|
|
run: npm run prerun
|
|
|
|
# build image for mail service
|
|
- name: build docker image
|
|
run: sudo docker build -f ./Mail/Dockerfile . |