380f01222a
* Deploy the image to the internal docker registry * Removed unnecessary stage in backend build
21 lines
527 B
YAML
21 lines
527 B
YAML
name: docker-build
|
|
|
|
on:
|
|
pull_request:
|
|
branches: [main]
|
|
paths:
|
|
- "twake/docker/**"
|
|
|
|
jobs:
|
|
build-frontend:
|
|
runs-on: ubuntu-20.04
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- run: cd twake && docker build -t tdrive/tdrive-frontend -f docker/tdrive-frontend/Dockerfile .
|
|
|
|
build-node:
|
|
runs-on: ubuntu-20.04
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- run: cd twake && docker build --target production -t docker-registry.linagora.com/tdrive/tdrive-node -f docker/tdrive-node/Dockerfile .
|