feat(rollbacks): enhance rollback functionality with full context support

- Updated the rollbacks schema to include mounts, ports, and optional registry information in the full context.
- Refactored the rollback service to utilize the full context for improved rollback operations, ensuring all necessary configurations are applied.
- Exported the getAuthConfig function for better accessibility in the application context.
This commit is contained in:
Mauricio Siu
2025-07-06 16:43:44 -06:00
parent b7dc7bbf0c
commit 078ca19578
3 changed files with 107 additions and 12 deletions
+1 -1
View File
@@ -227,7 +227,7 @@ const getImageName = (application: ApplicationNested) => {
return imageName;
};
const getAuthConfig = (application: ApplicationNested) => {
export const getAuthConfig = (application: ApplicationNested) => {
const { registry, username, password, sourceType, registryUrl } = application;
if (sourceType === "docker") {