Skip to main content
Symptom: a release on the Releases tab shows Build failed. A failed build doesn’t affect running deployments. Customers keep their current release, and new installs keep getting your newest Ready release. The failure details say so, for example “Customers still get v1.2.0.” A failed release can’t be retried. After you fix the cause, you create a new release with a new version.

Find the evidence

Who: you (the vendor), in the Deployz dashboard.
  1. Open your application and select Releases.
  2. On the failed release, select Review failure details.
The details panel shows:
  • A summary of what failed. When the build log names the Dockerfile step that failed, the summary reads “The image build failed while running this Dockerfile command:” followed by the step.
  • Failed while: the build stage, such as Building the image from your Dockerfile.
  • Earliest error found: the first meaningful error in the build log.
  • Next step: what to do, and the evidence the advice is based on.
  • Relevant log lines: a short part of the build log around the earliest errors, or its last lines when no error line is found. Select View build logs to see the log.
  • Who acts: Deployz’s reading of where the cause lies.
Deployz reads at most the last 3,000 lines of a build log, and shortens each line to 500 characters. For a long build, earlier lines aren’t shown. Build logs have secrets and Deployz infrastructure details removed. Build logs can expire. When no log is available, View build logs is unavailable, and the stored failure reason is the only evidence.

Read the summary

The release row shows a one-line summary under Build failed:

Who acts

The details panel labels the likely owner of the problem:

Investigate with a coding agent or AI

The panel offers two optional tools:
  • Copy prompt for coding agent copies an investigation prompt with the failure evidence. Paste it into your coding agent, such as one in your editor. The prompt asks the agent to find the cause before it changes code. Copying it gives no access to Deployz or AWS. For a Deployz build issue, the panel shows Copy report for Deployz support instead.
  • Explain with AI asks Deployz for an AI reading of the redacted log lines. The result shows a likely cause, a suggested next step, and what’s uncertain. Verify it before you act. This option is available for every failed build that has relevant log lines to read.
Select Copy technical details to share the failure with a teammate or in a support request.

Retry with a new release

Who: you (the vendor), in the Deployz dashboard.
  1. Fix the cause. For a repository issue, push the fix to the application’s branch.
  2. Select Create release at the top of the Releases tab. For a repository issue or a temporary failure, the failure details also have a Create release button.
  3. Enter a new version. You can’t reuse the failed release’s version.
  4. Choose the commit: the new commit with your fix, or the same commit for a temporary failure.
  5. Select Create release.
  • Missing build values. If the New release form says “Set these build values before you build a release:”, no build started. Enter the listed values, then create the release. See Configure environment variables.
  • Unavailable release. A release marked Unavailable built successfully, but its container image no longer exists. Create a new release to deploy that code again.
  • Problems after the build. If the release built but the deployment fails to start or stay healthy, see Fix startup and health check failures.
If you can’t find the cause, contact support and include the technical details.