From 6e6df1e1df39a37f551911bfa61774a87213c60d Mon Sep 17 00:00:00 2001 From: "fork-sync[bot]" Date: Wed, 16 Sep 2026 10:39:52 +0200 Subject: [PATCH] ci: add sync-registry-secrets workflow --- .gitea/workflows/sync-secrets.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .gitea/workflows/sync-secrets.yml diff --git a/.gitea/workflows/sync-secrets.yml b/.gitea/workflows/sync-secrets.yml new file mode 100644 index 0000000..28ceb9b --- /dev/null +++ b/.gitea/workflows/sync-secrets.yml @@ -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