fix(stacks): save registries when creating stack BE-12526 (#1633)
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import axios, { parseAxiosError } from '@/portainer/services/axios';
|
||||
import { Pair } from '@/react/portainer/settings/types';
|
||||
import { EnvironmentId } from '@/react/portainer/environments/types';
|
||||
import { RegistryId } from '@/react/portainer/registries/types/registry';
|
||||
|
||||
import { Stack } from '../../types';
|
||||
|
||||
@@ -19,6 +20,7 @@ export interface StandaloneFileContentPayload {
|
||||
/** A UUID to identify a webhook. The stack will be force updated and pull the latest image when the webhook was invoked. */
|
||||
webhook?: string;
|
||||
environmentId: EnvironmentId;
|
||||
registries?: Array<RegistryId>;
|
||||
}
|
||||
|
||||
export async function createStandaloneStackFromFileContent({
|
||||
|
||||
Reference in New Issue
Block a user