Skip to content

Commit

Permalink
add quay.io/thanos [skip ci]
Browse files Browse the repository at this point in the history
Signed-off-by: xiexianbin <me@xiexianbin.cn>
  • Loading branch information
xiexianbin committed Feb 25, 2024
1 parent 4cf5514 commit c77b92f
Show file tree
Hide file tree
Showing 4 changed files with 73 additions and 1 deletion.
62 changes: 62 additions & 0 deletions .github/workflows/quay.io-thanos.yml
Original file line number Diff line number Diff line change
@@ -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'
3 changes: 2 additions & 1 deletion .github/workflows/registry.k8s.io-all-repos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)|

Expand Down
8 changes: 8 additions & 0 deletions quay.io/thanos.txt
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit c77b92f

Please sign in to comment.