ci(security): consolidate scheduled image scans
This commit is contained in:
parent
810a7285e9
commit
f706f3a402
|
|
@ -23,8 +23,8 @@ on:
|
||||||
- .github/workflows/core-publish-images.yml
|
- .github/workflows/core-publish-images.yml
|
||||||
|
|
||||||
schedule:
|
schedule:
|
||||||
# Every day at 00:00 UTC
|
# Every Monday at 03:17 UTC
|
||||||
- cron: 0 0 * * *
|
- cron: "17 3 * * 1"
|
||||||
|
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -36,10 +36,6 @@ on:
|
||||||
- .github/workflows/core-build-test-images.yml
|
- .github/workflows/core-build-test-images.yml
|
||||||
- .github/workflows/core-publish-images.yml
|
- .github/workflows/core-publish-images.yml
|
||||||
|
|
||||||
schedule:
|
|
||||||
# Every Monday at 03:17 UTC
|
|
||||||
- cron: "17 3 * * 1"
|
|
||||||
|
|
||||||
# Triggered from frappe/frappe and frappe/erpnext on releases
|
# Triggered from frappe/frappe and frappe/erpnext on releases
|
||||||
repository_dispatch:
|
repository_dispatch:
|
||||||
|
|
||||||
|
|
@ -55,12 +51,7 @@ jobs:
|
||||||
node_version: "22"
|
node_version: "22"
|
||||||
|
|
||||||
v15_publish:
|
v15_publish:
|
||||||
if: >-
|
if: ${{ github.repository == 'frappe/frappe_docker' && github.event_name != 'pull_request' }}
|
||||||
${{
|
|
||||||
github.repository == 'frappe/frappe_docker' &&
|
|
||||||
github.event_name != 'pull_request' &&
|
|
||||||
github.event_name != 'schedule'
|
|
||||||
}}
|
|
||||||
needs: v15_test
|
needs: v15_test
|
||||||
uses: ./.github/workflows/core-publish-images.yml
|
uses: ./.github/workflows/core-publish-images.yml
|
||||||
with:
|
with:
|
||||||
|
|
@ -81,12 +72,7 @@ jobs:
|
||||||
python_version: "3.14"
|
python_version: "3.14"
|
||||||
node_version: "24"
|
node_version: "24"
|
||||||
v16_publish:
|
v16_publish:
|
||||||
if: >-
|
if: ${{ github.repository == 'frappe/frappe_docker' && github.event_name != 'pull_request' }}
|
||||||
${{
|
|
||||||
github.repository == 'frappe/frappe_docker' &&
|
|
||||||
github.event_name != 'pull_request' &&
|
|
||||||
github.event_name != 'schedule'
|
|
||||||
}}
|
|
||||||
needs: v16_test
|
needs: v16_test
|
||||||
uses: ./.github/workflows/core-publish-images.yml
|
uses: ./.github/workflows/core-publish-images.yml
|
||||||
with:
|
with:
|
||||||
|
|
@ -102,12 +88,7 @@ jobs:
|
||||||
update_versions:
|
update_versions:
|
||||||
name: Update example.env and pwd.yml
|
name: Update example.env and pwd.yml
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: >-
|
if: ${{ github.repository == 'frappe/frappe_docker' && github.event_name != 'pull_request' }}
|
||||||
${{
|
|
||||||
github.repository == 'frappe/frappe_docker' &&
|
|
||||||
github.event_name != 'pull_request' &&
|
|
||||||
github.event_name != 'schedule'
|
|
||||||
}}
|
|
||||||
needs: v16_publish
|
needs: v16_publish
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue