{"record":{"id":"eb6d790fbc7675e7","repo":"nektos/act","slug":"unmarshal-image-env-w","errorCode":null,"errorMessage":"unmarshal image env: %w","messagePattern":"unmarshal image env: %w","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"pkg/container/docker_run.go","lineNumber":530,"sourceCode":"imageEnv, err := godotenv.Unmarshal(strings.Join(inspectResult.Config.Env, \"\\n\"))\nif err != nil {\n\tlogger.Error(err)\n\treturn fmt.Errorf(\"unmarshal image env: %w\", err)\n}","sourceCodeStart":512,"sourceCodeEnd":548,"githubUrl":"https://github.com/nektos/act/blob/4f411281417e88660bea1c1a1749aa71ae0bd60f/pkg/container/docker_run.go#L512-L548","documentation":"Error \"unmarshal image env: %w\" thrown in nektos/act.","triggerScenarios":"Thrown at pkg/container/docker_run.go:530 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Ensure the image's Env entries are valid KEY=VALUE strings; a malformed image config can cause this.","Rebuild or repull the image to fix corrupted image metadata."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"4f411281417e88660bea1c1a1749aa71ae0bd60f","analyzedAt":"2026-08-15T09:19:46.307Z","schemaVersion":2},"datasetVersion":"2026-08-15T17:31:12.345Z"}