ci: add sync-registry-secrets workflow
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
name: sync registry secrets
|
||||
on:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: '17 * * * *'
|
||||
|
||||
jobs:
|
||||
sync:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: setup python
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: "3.13"
|
||||
|
||||
- name: sync secrets
|
||||
env:
|
||||
SECRETS_SYNCER_TOKEN: ${{ secrets.SECRETS_SYNCER_TOKEN }}
|
||||
REGISTRY_USERNAME_VALUE: ${{ secrets.REGISTRY_USERNAME_VALUE }}
|
||||
REGISTRY_TOKEN_VALUE: ${{ secrets.REGISTRY_TOKEN_VALUE }}
|
||||
REGISTRY_PASSWORD_VALUE: ${{ secrets.REGISTRY_PASSWORD_VALUE }}
|
||||
REPO_LIMIT: '200'
|
||||
run: |
|
||||
python tools/sync-registry-secrets.py
|
||||
continue-on-error: true
|
||||
Reference in New Issue
Block a user