34 lines
673 B
YAML
34 lines
673 B
YAML
name: build
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
tags:
|
|
paths:
|
|
- ".github/workflows/ci-build.yml"
|
|
- "backend/**"
|
|
- "frontend/**"
|
|
- ".dockerignore"
|
|
- "docker-init.sh"
|
|
- "Dockerfile"
|
|
- "!**.md"
|
|
pull_request:
|
|
paths:
|
|
- ".github/workflows/ci-build.yml"
|
|
- "backend/**"
|
|
- "frontend/**"
|
|
- ".dockerignore"
|
|
- "docker-init.sh"
|
|
- "Dockerfile"
|
|
- "!**.md"
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: build docker image
|
|
run: docker build --build-arg SKIP_BACKEND_TEST=true --build-arg SKIP_FRONTEND_TEST=true --build-arg CI=github .
|