webexmemebot/.github/workflows/release.yml

27 lines
746 B
YAML
Raw Normal View History

2024-07-13 13:15:03 +02:00
name: Release
2024-04-21 18:20:58 +02:00
on:
2024-07-13 13:15:03 +02:00
workflow_dispatch:
schedule:
2024-07-31 23:05:42 +02:00
- cron: "0 9 * * 0"
2024-04-21 18:20:58 +02:00
jobs:
2024-11-28 21:58:14 +01:00
test:
uses: luketainton/gha-workflows/.github/workflows/ci-python-poetry-with-docker.yml@main
2024-11-28 22:32:52 +01:00
with:
python_version: "3.13"
2024-11-28 21:58:14 +01:00
secrets:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
2024-07-13 13:15:03 +02:00
create_release:
name: Create Release
uses: luketainton/gha-workflows/.github/workflows/create-release.yml@main
2024-04-21 18:20:58 +02:00
2024-07-13 13:15:03 +02:00
create_docker:
name: Create Docker Image
needs: create_release
if: ${{ needs.create_release.outputs.success == 'true' }}
2024-07-13 13:15:03 +02:00
uses: luketainton/gha-workflows/.github/workflows/build-push-attest-docker.yml@main
with:
2024-07-13 13:20:34 +02:00
release: ${{ needs.create_release.outputs.release_name }}