Skip to content

splitted build compose and main compose, docker hub image added #80 #8

splitted build compose and main compose, docker hub image added #80

splitted build compose and main compose, docker hub image added #80 #8

Workflow file for this run

name: Build and test docker image
on:
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Build the Docker image
run: |
docker compose -f docker-compose.yml -f docker-compose.build.yml build
docker compose -f docker-compose.yml up -d
sleep 20 # wait until compose is up
docker compose exec -T webapp /bin/bash -c "python manage.py test"