diff --git a/pipelines/docker-build-rhtap/patch.yaml b/pipelines/docker-build-rhtap/patch.yaml index 362e7c7b5b..36e7df74fc 100644 --- a/pipelines/docker-build-rhtap/patch.yaml +++ b/pipelines/docker-build-rhtap/patch.yaml @@ -14,6 +14,13 @@ name: stackrox-secret type: string default: "rox-api-token" +- op: add + path: /spec/params/- + value: + name: gitops-auth-secret-name + type: string + default: gitops-auth-secret + description: "Secret name to enable this pipeline to update the gitops repo with the new image. " - op: add path: /spec/params/- value: @@ -141,6 +148,8 @@ value: $(params.git-url)-gitops - name: image value: $(tasks.build-container.results.IMAGE_URL)@$(tasks.build-container.results.IMAGE_DIGEST) + - name: gitops-auth-secret-name + value: $(params.gitops-auth-secret-name) runAfter: - build-container when: