|
|
|
@ -5,6 +5,8 @@ on:
|
|
|
|
branches:
|
|
|
|
branches:
|
|
|
|
- "main"
|
|
|
|
- "main"
|
|
|
|
workflow_dispatch:
|
|
|
|
workflow_dispatch:
|
|
|
|
|
|
|
|
schedule:
|
|
|
|
|
|
|
|
- cron: "0 3 1 * *" # Runs at 03:00 UTC on the 1st of each month
|
|
|
|
|
|
|
|
|
|
|
|
permissions:
|
|
|
|
permissions:
|
|
|
|
contents: write
|
|
|
|
contents: write
|
|
|
|
@ -61,8 +63,9 @@ jobs:
|
|
|
|
|
|
|
|
|
|
|
|
docker:
|
|
|
|
docker:
|
|
|
|
name: Build and Push Docker Image
|
|
|
|
name: Build and Push Docker Image
|
|
|
|
needs: release
|
|
|
|
needs: [release]
|
|
|
|
if: ${{ needs.release.result == 'success' }}
|
|
|
|
if: |
|
|
|
|
|
|
|
|
github.event_name == 'schedule' || needs.release.result == 'success'
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
env:
|
|
|
|
env:
|
|
|
|
RELEASE_TAG: ${{ needs.release.outputs.release_tag }}
|
|
|
|
RELEASE_TAG: ${{ needs.release.outputs.release_tag }}
|
|
|
|
|