2 Commits
0.1.3 ... 0.1.5

Author SHA1 Message Date
d9ac4a458c Fix docker container startup script
All checks were successful
Run Tests / run-tests (push) Successful in 40s
Build & Release / build-docker-image (push) Successful in 1m44s
Build & Release / deploy-to-production (push) Successful in 7s
2026-05-02 16:18:53 +02:00
9932fd8b52 Do not run tests on tags
All checks were successful
Run Tests / run-tests (push) Successful in 40s
Build & Release / build-docker-image (push) Successful in 1m42s
Build & Release / deploy-to-production (push) Successful in 7s
2026-05-02 16:04:04 +02:00
3 changed files with 8 additions and 14 deletions

View File

@@ -1,10 +1,8 @@
name: Build & Release
on:
workflow_run:
workflows:
- "Run Tests"
types:
- completed
push:
tags:
- '[0-9]+.[0-9]+.[0-9]+'
env:
ENDPOINT: services-3
@@ -16,13 +14,7 @@ env:
jobs:
build-branch:
runs-on: node20
steps:
- run: echo "${{ gitea.event.workflow_run.head_branch }}"
build-docker-image:
if: ${{ gitea.event.workflow_run.conclusion == 'success' && startsWith(gitea.event.workflow_run.head_branch, 'refs/tag') }}
runs-on: node20
container:
image: catthehacker/ubuntu:act-24.04
@@ -31,7 +23,6 @@ jobs:
uses: actions/checkout@v4
with:
ssh-key: ${{ secrets.SSH_JOHN_PRIVATE_KEY }}
ref: ${{ gitea.event.workflow_run.head_branch }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Devsoap Container Registry

View File

@@ -1,7 +1,9 @@
name: Run Tests
on:
push: {}
workflow_dispatch:
push:
branches:
- '**'
env:
RUNNER_TOOL_CACHE: /toolcache

View File

@@ -1,7 +1,8 @@
#!/usr/bin/env sh
set -e
STREAMLIT_SECRETS_LOCATION=".streamlit/secrets.toml"
touch STREAMLIT_SECRETS_LOCATION
touch $STREAMLIT_SECRETS_LOCATION
SQLITE_DATABASE="/data/daily-counter.db"
SQLITE_DATABASE_URL="sqlite://$SQLITE_DATABASE"