1
0
mirror of https://codeberg.org/crowci/crow.git synced 2025-08-07 20:23:03 +03:00

Add user as docker backend_option (#4526)

This commit is contained in:
Robert Kaussow
2024-12-08 12:02:35 +01:00
committed by GitHub
parent d35d950c44
commit 786a8fb003
9 changed files with 226 additions and 98 deletions

View File

@@ -86,7 +86,7 @@ const (
func parseBackendOptions(step *backend.Step) (BackendOptions, error) {
var result BackendOptions
if step.BackendOptions == nil {
if step == nil || step.BackendOptions == nil {
return result, nil
}
err := mapstructure.Decode(step.BackendOptions[EngineName], &result)