Added Backend CI-Build

This commit is contained in:
Mawoka
2022-08-26 21:47:45 +02:00
parent f6a0e80ad9
commit a929232bbb
2 changed files with 2 additions and 4 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions # This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions # For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: "[CI] Backend / Lint" name: "[CI] Backend / Build"
on: on:
workflow_dispatch: workflow_dispatch:
+1 -3
View File
@@ -13,9 +13,7 @@ services:
REDIS_URL: redis://redis:6379/0?decode_responses=True REDIS_URL: redis://redis:6379/0?decode_responses=True
API_URL: http://api:80 API_URL: http://api:80
api: api:
build: image: ghcr.io/mawoka-myblock/classquiz:master
context: .
dockerfile: Dockerfile
restart: always restart: always
depends_on: depends_on:
- db - db