27 lines
785 B
YAML
Raw Normal View History

name: Release
on:
2025-01-12 18:36:04 +00:00
workflow_dispatch:
schedule:
- cron: "0 9 * * 0"
jobs:
2025-01-12 18:36:04 +00:00
test:
2025-01-12 18:39:34 +00:00
uses: https://git.tainton.uk/actions/gha-workflows/.gitea/workflows/ci-python-uv-with-docker.yml@main
2025-01-12 18:36:04 +00:00
with:
python-version: 3.13
secrets:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
create_release:
name: Create Release
2025-01-12 18:39:34 +00:00
uses: https://git.tainton.uk/actions/gha-workflows/.gitea/workflows/create-release.yml@main
2025-01-12 18:36:04 +00:00
create_docker:
name: Create Docker Image
needs: create_release
2025-01-12 18:36:04 +00:00
if: ${{ needs.create_release.outputs.success == 'true' }}
2025-01-12 18:39:34 +00:00
uses: https://git.tainton.uk/actions/gha-workflows/.gitea/workflows/build-push-docker.yml@main
2025-01-12 18:36:04 +00:00
with:
release: ${{ needs.create_release.outputs.release_name }}