mirror of
https://github.com/andwati/dokploy.git
synced 2026-10-30 00:32:16 +00:00
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:
@@ -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") {
|
||||
|
||||
Reference in New Issue
Block a user