Quadlet build - add support for IgnoreFile key

Resolves: https://github.com/containers/podman/issues/27268

Signed-off-by: Ygal Blum <ygal.blum@gmail.com>
This commit is contained in:
Ygal Blum
2025-10-16 14:02:04 -04:00
parent 571031f375
commit 1800b34b51
4 changed files with 18 additions and 0 deletions

View File

@@ -113,6 +113,7 @@ const (
KeyHealthTimeout = "HealthTimeout"
KeyHostName = "HostName"
KeyHttpProxy = "HttpProxy"
KeyIgnoreFile = "IgnoreFile"
KeyImage = "Image"
KeyImageTag = "ImageTag"
KeyInterfaceName = "InterfaceName"
@@ -446,6 +447,7 @@ var (
KeyForceRM: true,
KeyGlobalArgs: true,
KeyGroupAdd: true,
KeyIgnoreFile: true,
KeyImageTag: true,
KeyLabel: true,
KeyNetwork: true,
@@ -1392,6 +1394,7 @@ func ConvertBuild(build *parser.UnitFile, unitsInfoMap map[string]*UnitInfo, isU
stringKeys := map[string]string{
KeyArch: "--arch",
KeyAuthFile: "--authfile",
KeyIgnoreFile: "--ignorefile",
KeyTarget: "--target",
KeyVariant: "--variant",
KeyRetry: "--retry",