Skip to content

bitnami

bitnami #6

Workflow file for this run

name: bitnami
on:
schedule:
- cron: '0 0 8 * *'
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
sync-quay:
runs-on: ubuntu-20.04
container: setzero/registry-manager
env:
TO_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
TO_PASSWORD: ${{ secrets.DOCKERHUB_TOKEN }}
steps:
- name: Quay to Aliyun
run: |
cat << EOF >config.yaml
registries:
aliyuncs:
registry: https://registry.aliyuncs.com
username: $TO_USERNAME
password: $TO_PASSWORD
docker:
registry: https://docker.io
repositories:
- bitnami/kafka
- bitnami/etcd
sync-policy:
from: docker
to: aliyuncs
dry-run: false
replace:
- old: bitnami/
new: it00021hot/bitnami_
EOF
registry-manager sync -c config.yaml
- name: Delete workflow runs
uses: GitRML/delete-workflow-runs@main
with:
retain_days: 7
keep_minimum_runs: 3