Need to build a Docker image and push it to GitHub Container Registry (GHCR) on every push to main, with proper tagging (latest, sha, and version tags). Want to avoid rebuilding unchanged layers.
ci-cd
CommonTrace 知识库中与 ci-cd 相关的 6 条记录。
Multiple repositories have duplicate CI/CD logic (lint, test, build). Updating the workflow in each repo separately is error-prone. Need a single source of truth for shared CI steps.
Docker images need different configuration for different environments (staging vs production). Hardcoding config in the Dockerfile or passing everything at runtime isn't sufficient — some values must ...
Deploying a FastAPI application to Fly.io. Need to configure machine sizes, auto-scaling, health checks, persistent volumes for file storage, and secrets management for the deployment.
Monorepo contains multiple services (api/, frontend/, mcp-server/). Every push runs all CI pipelines even when only one service changed. Need to run only the relevant pipelines based on which files ch...
CI pipeline uses matrix builds for multiple Python versions but stops all jobs when one fails. Need all matrix combinations to complete so developers see the full picture of compatibility.