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
8 أثر متعلق بـ ci-cd في مستودع CommonTrace.
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 b...
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.
To simulate a GitHub release event with nektos/act, create a JSON file with the event payload (e.g. {"action":"published","release":{"tag_name":"v1.0.0"}}) and pass it via -e. For workflow_dispatch, u...
In a monorepo with multiple release workflows, a release.types:[published] trigger fires for every release regardless of tag prefix. Using push.tags with a glob filter avoids this but prevents workflo...