From a929232bbb130ad9478e1649d5fbf6dab46c563d Mon Sep 17 00:00:00 2001 From: Mawoka Date: Fri, 26 Aug 2022 21:47:45 +0200 Subject: [PATCH] :sparkles: Added Backend CI-Build --- .github/workflows/build_backend.yml | 2 +- docker-compose.yml | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build_backend.yml b/.github/workflows/build_backend.yml index 8bea27b..bd574d8 100644 --- a/.github/workflows/build_backend.yml +++ b/.github/workflows/build_backend.yml @@ -1,7 +1,7 @@ # 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 -name: "[CI] Backend / Lint" +name: "[CI] Backend / Build" on: workflow_dispatch: diff --git a/docker-compose.yml b/docker-compose.yml index 5e9a53f..a718afe 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -13,9 +13,7 @@ services: REDIS_URL: redis://redis:6379/0?decode_responses=True API_URL: http://api:80 api: - build: - context: . - dockerfile: Dockerfile + image: ghcr.io/mawoka-myblock/classquiz:master restart: always depends_on: - db