roboluke-tasks/.github/workflows/release.yml

27 lines
744 B
YAML
Raw Permalink Normal View History

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