anchor.diff:        "git": {
           "uri": "git@repository.com:user/app.git"
         },
  -      "sourceSecretName": "scmsecret",
  +      "sourceSecret": {
  +        "name": "scmsecret"
  +      },
         "type": "Git"
       },
       "strategy": {
  
positive.code: ----
  ====
  
  Once you have the `*Secret*` created, you can add a `PushSecretName` field into
  `Output` section inside the `BuildConfig` and set it to the name of the
  `*Secret*` that you created, in this case `*dockerhub*`.
  
  [#using-private-repositories-for-builds]
  == Using private repositories for builds
  
negative.code: ----
  ====
  
  Once you have the `*Secret*` created, you can add a `SourceSecret` field into
  `Source` section inside the `BuildConfig` and set it to the name of the
  `*Secret*` that you created, in this case `*scmsecret*`:
  
  