diff --git a/.github/workflows/quay.io-thanos.yml b/.github/workflows/quay.io-thanos.yml new file mode 100644 index 0000000000..62f8ee654f --- /dev/null +++ b/.github/workflows/quay.io-thanos.yml @@ -0,0 +1,62 @@ +name: quay.io/thanos + +on: + workflow_dispatch: + inputs: + reason: + description: 'run action reason' + required: false + type: string + default: 'manually test' + schedule: + - cron: '* */6 * * *' + push: + branches: + - main + - dev + - bug/** + - fix/** + - bugfix/** + - feature/** + paths-ignore: + - '**.md' + pull_request: + paths-ignore: + - '**.md' + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + +jobs: + thanos: + runs-on: ubuntu-latest + steps: + - name: Checkout result branch + uses: actions/checkout@v4 + with: + repository: x-mirrors/gcr.io + ref: 'thanos' + token: ${{ secrets.GITHUB_TOKEN }} + path: gcr.io + + - name: Container Images Sync + uses: x-actions/python3-cisctl@v2 + env: + GIT_REPO: "gcr.io" + SRC_IMAGE_LIST_URL: "https://raw.githubusercontent.com/x-mirrors/gcr.io/${{ github.ref_name }}/quay.io/thanos.txt" + DEST_REPO: "docker.io/quayiothanos" + SRC_TRANSPORT: "docker" + DEST_TRANSPORT: "docker" + DEST_TRANSPORT_USER: "xsyncs" + DEST_TRANSPORT_PASSWORD: "${{ secrets.DEST_TRANSPORT_PASSWORD }}" + LOG_LEVEL: "DEBUG" + + - name: Public result to github + uses: x-actions/git-push@v1 + continue-on-error: true + env: + GITHUB_EMAIL: 'me@xiexianbin.cn' + GITHUB_USERNAME: 'xiexianbin' + PUBLISH_REPO: https://${{ secrets.GITHUB_TOKEN }}@github.com/x-mirrors/gcr.io.git + PUBLISH_BRANCH: thanos + PUBLISH_DIR: 'gcr.io' diff --git a/.github/workflows/registry.k8s.io-all-repos.yml b/.github/workflows/registry.k8s.io-all-repos.yml index 63fe98eb4d..ca8a871be1 100644 --- a/.github/workflows/registry.k8s.io-all-repos.yml +++ b/.github/workflows/registry.k8s.io-all-repos.yml @@ -40,8 +40,9 @@ jobs: path: gcr.io - name: Container Images Sync - uses: x-actions/python3-cisctl@feature/v2 + uses: x-actions/python3-cisctl@v2 env: + GIT_REPO: "gcr.io" SRC_IMAGE_LIST_URL: "https://raw.githubusercontent.com/x-mirrors/gcr.io/${{ github.ref_name }}/registry.k8s.io/all-repos.txt" DEST_REPO: "docker.io/registryk8s" SRC_TRANSPORT: "docker" diff --git a/README.md b/README.md index 12ee13a9d6..c0bbc17037 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,7 @@ |quay.io/ceph|[quayioceph](https://hub.docker.com/u/quayioceph)|xiexianbin|`* 18 * * *`|11|[![quayioceph](https://github.com/x-mirrors/gcr.io/actions/workflows/quay.io-ceph.yml/badge.svg)](https://github.com/x-mirrors/gcr.io/actions/workflows/quay.io-ceph.yml)| |quay.io/coreos|[qcoreos](https://hub.docker.com/u/qcoreos)|xiexianbin|`* 10 * * *`|4|[![qcoreos](https://github.com/x-mirrors/gcr.io/actions/workflows/quay.io-coreos.yml/badge.svg)](https://github.com/x-mirrors/gcr.io/actions/workflows/quay.io-coreos.yml)| |quay.io/metallb|[quayiometallb](https://hub.docker.com/u/quayiometallb)|xiexianbin|`* 10 * * *`|2|[![quayiometallb](https://github.com/x-mirrors/gcr.io/actions/workflows/quay.io-metallb.yml/badge.svg)](https://github.com/x-mirrors/gcr.io/actions/workflows/quay.io-metallb.yml)| +|quay.io/thanos|[quayiothanos](https://hub.docker.com/u/quayiothanos)|xsyncs|`* */6 * * *`|8|[![quayiothanos](https://github.com/x-mirrors/gcr.io/actions/workflows/quay.io-thanos.yml/badge.svg)](https://github.com/x-mirrors/gcr.io/actions/workflows/quay.io-thanos.yml)| |registry.k8s.io/all-repos|[registryk8s](https://hub.docker.com/u/registryk8s)|xregistry|`* */3 * * *`|876|[![registryk8s](https://github.com/x-mirrors/gcr.io/actions/workflows/registry.k8s.io-all-repos.yml/badge.svg)](https://github.com/x-mirrors/gcr.io/actions/workflows/registry.k8s.io-all-repos.yml)| |us.gcr.io/k8s-artifacts-prod|[usgcriok8sartifactsprod](https://hub.docker.com/u/usgcriok8sartifactsprod)|xaction|`* 10 * * *`|537|[![usgcriok8sartifactsprod](https://github.com/x-mirrors/gcr.io/actions/workflows/us.gcr.io-k8s-artifacts-prod.yml/badge.svg)](https://github.com/x-mirrors/gcr.io/actions/workflows/us.gcr.io-k8s-artifacts-prod.yml)| diff --git a/quay.io/thanos.txt b/quay.io/thanos.txt new file mode 100644 index 0000000000..34d08e3793 --- /dev/null +++ b/quay.io/thanos.txt @@ -0,0 +1,8 @@ +quay.io/thanos/thanos +quay.io/thanos/thanosbench +quay.io/thanos/docker-swift-onlyone-authv2-keystone +quay.io/thanos/prom-label-proxy +quay.io/thanos/thanos-linux-arm64 +quay.io/thanos/thanos-linux-amd64 +quay.io/thanos/prometheus +quay.io/thanos/thanos-ci