feat: show image differences in pre-deploy overview

This commit is contained in:
3wc
2025-09-02 13:48:09 -04:00
parent 8e8f7715a2
commit 14d3f1f669
3 changed files with 137 additions and 30 deletions

View File

@ -3,7 +3,6 @@ package app
import (
"context"
"errors"
"fmt"
"strings"
"coopcloud.tech/abra/cli/internal"
@ -209,10 +208,9 @@ checkout as-is. Recipe commit hashes are also supported as values for
}
// Gather images
var imageInfo []string
for _, service := range compose.Services {
imageInfo = append(imageInfo, fmt.Sprintf("%s: %s", service.Name, service.Image))
imageInfo, err := deploy.GatherImagesForDeploy(cl, app, compose)
if err != nil {
log.Fatal(err)
}
// Show deploy overview