fix(stacks): save registries when creating stack BE-12526 (#1633)

This commit is contained in:
Chaim Lev-Ari
2026-01-13 07:00:48 +00:00
committed by GitHub
parent 2a00d90134
commit c6e9cdbf35
8 changed files with 22 additions and 0 deletions
@@ -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({