feat: added github CIs

This commit is contained in:
montaghanmy
2023-03-31 09:26:38 +01:00
parent 41b86c452c
commit cc2f8543a9
11 changed files with 512 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
name: docker-build
on:
pull_request:
branches: [main]
paths:
- "twake/docker/**"
jobs:
build-nginx:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- run: cd twake && docker build -t twaketech/twake-nginx -f docker/twake-nginx/Dockerfile .
build-php:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- run: cd twake && docker build -t twaketech/twake-php -f docker/twake-php/Dockerfile .
build-node:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- run: cd twake && docker build --target production -t twaketech/twake-node -f docker/twake-node/Dockerfile .