Cron Image Stream Tag Cleanup #112
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Cron Image Stream Tag Cleanup | |
on: | |
schedule: | |
- cron: '30 20 * * 3' | |
workflow_dispatch: | |
jobs: | |
qms-commits: | |
if: github.repository_owner == 'bcgov' | |
name: QMS Commits | |
uses: ./.github/workflows/reusable-tag-cleanup-commit.yaml | |
secrets: | |
namespace: ${{ secrets.LICENCE_PLATE_QMS }}-tools | |
openshift-api: ${{ secrets.OPENSHIFT_API }} | |
openshift-token: ${{ secrets.SA_PASSWORD_QMS_TOOLS }} | |
with: | |
number-to-keep: 3 | |
theq-commits: | |
if: github.repository_owner == 'bcgov' | |
name: The Q Commits | |
uses: ./.github/workflows/reusable-tag-cleanup-commit.yaml | |
secrets: | |
namespace: ${{ secrets.LICENCE_PLATE_THEQ }}-tools | |
openshift-api: ${{ secrets.OPENSHIFT_API }} | |
openshift-token: ${{ secrets.SA_PASSWORD_THEQ_TOOLS }} | |
with: | |
number-to-keep: 3 | |
qms-pull-requests: | |
if: github.repository_owner == 'bcgov' | |
name: QMS Pull Requests | |
uses: ./.github/workflows/reusable-tag-cleanup-pr.yaml | |
secrets: | |
namespace: ${{ secrets.LICENCE_PLATE_QMS }}-tools | |
openshift-api: ${{ secrets.OPENSHIFT_API }} | |
openshift-token: ${{ secrets.SA_PASSWORD_QMS_TOOLS }} | |
with: | |
days-to-keep: 7 | |
theq-pull-requests: | |
if: github.repository_owner == 'bcgov' | |
name: The Q Pull Requests | |
uses: ./.github/workflows/reusable-tag-cleanup-pr.yaml | |
secrets: | |
namespace: ${{ secrets.LICENCE_PLATE_THEQ }}-tools | |
openshift-api: ${{ secrets.OPENSHIFT_API }} | |
openshift-token: ${{ secrets.SA_PASSWORD_THEQ_TOOLS }} | |
with: | |
days-to-keep: 7 |