public StepsRunner registryPushSteps() {
    rootProgressDescription = "building images to registry";
    boolean layersRequiredLocally = buildContext.getAlwaysCacheBaseImage();

    stepsToRun.add(this::authenticateBearerPush);

    addRetrievalSteps(layersRequiredLocally);
    stepsToRun.add(this::buildAndCacheApplicationLayers);
    stepsToRun.add(this::buildImages);
    stepsToRun.add(this::buildManifestListOrSingleManifest);

    // push to registry
    stepsToRun.add(this::pushBaseImagesLayers);
    stepsToRun.add(this::pushApplicationLayers);
    stepsToRun.add(this::pushContainerConfigurations);
    stepsToRun.add(this::checkManifestInTargetRegistry);
    stepsToRun.add(this::pushImages);
    stepsToRun.add(this::pushManifestList);
    return this;
  }
Add steps for pushing images to a remote registry. The registry is determined by the image
name.

@return this
jib-core/src/main/java/com/google/cloud/tools/jib/builder/steps/StepsRunner.java