@VisibleForTesting
  String normalizeArchitecture(String architecture) {
    // Create mapping based on https://docs.docker.com/engine/install/#supported-platforms
    if (architecture.equals("x86_64")) {
      return "amd64";
    } else if (architecture.equals("aarch64")) {
      return "arm64";
    }
    return architecture;
  }
Run all steps and return a BuildResult after a build is completed.

@return a {@link BuildResult} with build metadata
@throws ExecutionException if an error occurred during asynchronous execution of steps
@throws InterruptedException if the build was interrupted while waiting for results
jib-core/src/main/java/com/google/cloud/tools/jib/builder/steps/StepsRunner.java