fixes an bug where LoadAndRenderSteps tries to render secrets from build parameters if they contain the string "secrets" (ie. the tag name), a functionality used for exec. This breaks during unmarshal as the build content is usually not valid yaml.
refactor the load and render methods so that build does not try to resolve secrets. We will expand the load logic of exec in the future so we decided to separate the paths now.
Purpose of the PR
LoadAndRenderSteps
tries to render secrets from build parameters if they contain the string "secrets" (ie. the tag name), a functionality used for exec. This breaks during unmarshal as the build content is usually not valid yaml.Fixes #540