Code Monkey home page Code Monkey logo

kube-image-syncer's Introduction

kube-image-syncer Overview

机器人特性

  1. 支持 kubernetes 指定版本镜像自动同步
  2. 支持任意镜像列表自动同步

技术分享

交流沟通

  • 搜索微信号 swm0908kx, 备注(image), 验证通过会加入群聊

一、kubernetes 指定版本镜像自动同步

1、修改 config.yaml

push_kubernetes: false 中的 false 修改为true,例如 push_kubernetes: true
version: v1.23.6 中的版本号修改为想要拉取的版本,例如 version: v1.23.8

2、创建新的分支(按照步骤操作)

image image

3、推送pr

image

CI 过程(点击 Details 查看 CI 详细过程) image

CI 过程无异常 image

4、在 dockerhub 中查看刚刚推送的镜像

dockerhub 中搜索 pixiuio image 找到 pixiuio/kube-apiserver 进去查看刚才推送的镜像 image image

二、任意镜像列表自动同步

1、修改 config.yaml

push_images: false 中的 false 修改为true,例如 push_images: true
将想要上传的镜写在这个列表下

  images:
    - docker.io/nginx:latest
    - docker.io/redis:latest

注意:写全域名
image

查看 CI 结果,显示推送成功 image

创建分支推送 pr 步骤和前面相同,请参照前面步骤

2、查看 dockerhub 查看刚刚推送结果

image

kube-image-syncer's People

Contributors

kube-robot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.