[Feature Request] Specify tag/git hash/container id for create-deployment command
E
Elliot Plant
When using
doctl apps create-deployment <app id> [flags]
The CLI is "Creating an app deployment will pull the latest changes from your repository and schedule a new deployment". Could you add a feature to specify something other than the latest changes? Something like a Git tag, a Git hash, or a container ID?
Thanks!
Tre`Von McKay
When you create a deployment for a git-source app, it always builds the current tip of the configured branch. This breaks gated, promote-based releases: we run QA and Prod as two apps building from the same repo, and any commit that lands between QA validation and Prod approval silently changes what Prod ships, so the approver approves one commit but Prod builds another. Please let a deployment specify a commit SHA or tag with the deployment record showing the exact ref built.