Revision aac966357d2773e1e08b0249d37ab80ca81925c3 authored by Jochen Kupperschmidt on 02 January 2026, 14:41:16 UTC, committed by Jochen Kupperschmidt on 02 January 2026, 14:41:16 UTC
1 parent eb5a403
docker-test.yml
name: Docker Test
on:
# Allow manual workflow triggering from the "Actions" tab.
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: Create configuration file
run: cp docker/byceps/config.toml.example docker/byceps/config.toml
- name: Create services
run: docker compose up --no-start --quiet-pull
- name: Generate secret key
run: docker compose run --rm byceps-apps uv run byceps generate-secret-key > ./secret_key.txt
- name: Insert secret key into configuration file
run: sed -i '/secret_key = ""/s|^.*|secret_key = "fake-secret-key-for-testing"|' docker/byceps/config.toml
- name: Initialize database
run: docker compose run --rm byceps-apps uv run byceps initialize-database

Computing file changes ...