惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

云风的 BLOG
云风的 BLOG
The GitHub Blog
The GitHub Blog
Y
Y Combinator Blog
博客园 - 三生石上(FineUI控件)
T
The Blog of Author Tim Ferriss
宝玉的分享
宝玉的分享
Hugging Face - Blog
Hugging Face - Blog
WordPress大学
WordPress大学
V
Visual Studio Blog
小众软件
小众软件
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
MongoDB | Blog
MongoDB | Blog
V
V2EX
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园 - 【当耐特】
Microsoft Azure Blog
Microsoft Azure Blog
The Cloudflare Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Engineering at Meta
Engineering at Meta
L
LangChain Blog
Martin Fowler
Martin Fowler
GbyAI
GbyAI
博客园 - 司徒正美

Xinwei Xiong (cubxxw) - AI, Open Source & Nomad Blog

2026 June Thought Notes: The Pushing-Away Comes Be… | cubxxw Dissecting open-lovable: An App Generator That Tam… | cubxxw Ignite and Settle (Part 3): Anxious Attachment — W… | cubxxw Ignite and Settle (Part 2): Avoidant Attachment — … | cubxxw Ignite and Settle (Part 1): The Quality and Time o… | cubxxw The Super-Individual Stack: AI-Native Product Dire… | cubxxw Building a Production-Grade AI Agent System from S… | cubxxw Seen Clearly, Loved Deeply: Five Lenses on Love, a… | cubxxw Context Is Not Prompt: Why Context Engineering Is Becoming AI's New Foundation The Agent Engineering Map: Where Does That 98.4% o… | cubxxw April 2026 Thought Notes Agent Identity: From Locke to OpenClaw Maintaining Self-Worth in the Age of AI March 2026 Thought Notes Lhasa: Slow and Heavy Wandering & Growing: 2025-2026 Annual Review AI and Self-Identity: Who Am I in the AI Age February 2026 Thought Notes January 2026 Thought Notes December 2025 Thought Notes Japan Travel Notes — Learning to Be with Time Through Wood, Fire, and Gaps 2025 November Thought Notes October 2025 Thought Notes September 2025 Thought Notes 2025 August Thought Notes 2025 July Thought Notes 2025 June Thought Notes Metacognitive Transformation Review 2025 May Thought Notes 2025 April Thought Notes
Openkf Multi Architecture Image
熊鑫伟 (Xinwei Xiong) · 2023-09-01 · via Xinwei Xiong (cubxxw) - AI, Open Source & Nomad Blog

熊鑫伟 (Xinwei Xiong) · September 1, 2023

2 min · 318 words · EN |

Automate Multi-Architecture Image Build for openkf and Push to Multiple Image Repositories

Description:

To meet the requirements of a diverse set of users, we aim to automate the process of building the openkf Docker images for various architectures and push them to multiple image repositories seamlessly.

Objective:

  • Automatically build Docker images of openkf for linux/amd64 and linux/arm64 architectures.
  • Push the images to Docker Hub, AliYun Docker Hub, and GitHub Container Registry.

Tasks:

  1. Setup Multi-Architecture Build System
    • Use GitHub Actions with QEMU and Docker Buildx to support multi-architecture builds for linux/amd64 and linux/arm64.
    • On every new release, commit to the main branch, or scheduled event, trigger the build process.
  2. Support Multiple Image Repositories
    • Docker Hub: Push to openim/openkf-server.
    • AliYun Docker Hub: Push to registry.cn-hangzhou.aliyuncs.com/openimsdk/openkf-server.
    • GitHub Container Registry: Push to ghcr.io/openimsdk/openkf-server.
  3. Dynamic Image Tagging
    • Use Docker Metadata Action to generate dynamic tags based on events such as scheduled triggers, branch commits, pull requests, semantic versioning, and the commit SHA.
    • Ensure the built image does not get pushed during pull request events.
  4. Authentication & Security
    • Configure authentication for Docker Hub, AliYun, and GitHub Container Registry using secrets.
    • Ensure a secure and seamless push operation for each repository.
  5. Notifications & Logging
    • Send notifications to the development team in case of any build or push failures through GitHub Actions.
    • Maintain logs for every build and push operation for traceability.

Acceptance Criteria:

  • The openkf image should be built successfully for both linux/amd64 and linux/arm64 architectures.
  • Upon successful build, the image should be available on Docker Hub, AliYun Docker Hub, and GitHub Container Registry.
  • Properly tagged images based on the defined events and attributes.
  • No manual intervention required during the entire process.

Additional Notes:

  • The automation process is defined in the GitHub Actions workflow. Ensure to review and update the workflow as needed.
  • Make sure to test the process in a separate branch or environment to avoid disruptions.

Feedback and further recommendations are welcome.