How do you make a release reproducible and rollback-safe?
AdvancedProductionGitHub Actions, environments and releases in production
Answer
Build from a tag, pin base images by digest and dependencies by lockfile, record the SBOM and provenance, store artifacts immutably in a registry, and keep the last N versions deployable. Rollback is redeploying a previous digest, not rebuilding old source, since rebuilds can differ.
More on GitHub Actions, environments and releases in production
How do you structure workflows for a typical service (build, test, deploy)?BeginnerHow do reusable workflows differ from composite actions and when do you use each?IntermediateHow do you speed up slow GitHub Actions pipelines?IntermediateDesign a progressive delivery pipeline from merge to production using GitHub Actions and environments.AdvancedHow do you manage secrets and variables across org, repo and environment levels?IntermediateWhat does `concurrency` do in a deploy workflow and why does it matter?Beginner