Skip to content

Commit

Permalink
add secret param to pipeline to allow gitlab/github
Browse files Browse the repository at this point in the history
- defaults remain the same so existing installer will work with github
  • Loading branch information
jduimovich committed Mar 27, 2024
1 parent 1178502 commit b7eb04a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions pipelines/docker-build-rhtap/patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit b7eb04a

Please sign in to comment.