Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .tekton/ubi8-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ metadata:
build.appstudio.redhat.com/pull_request_number: '{{pull_request_number}}'
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch == "main"
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch
== "main"
creationTimestamp: null
labels:
appstudio.openshift.io/application: jvm-build-service-builder-images
Expand Down Expand Up @@ -485,7 +486,8 @@ spec:
optional: true
- name: netrc
optional: true
taskRunTemplate: {}
taskRunTemplate:
serviceAccountName: build-pipeline-ubi8
workspaces:
- name: workspace
volumeClaimTemplate:
Expand Down
6 changes: 4 additions & 2 deletions .tekton/ubi8-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,8 @@ spec:
- name: IMAGE
value: $(tasks.build-image-index.results.IMAGE_URL)
- name: ADDITIONAL_TAGS
value: ["latest"]
value:
- latest
runAfter:
- build-image-index
taskRef:
Expand Down Expand Up @@ -485,7 +486,8 @@ spec:
optional: true
- name: netrc
optional: true
taskRunTemplate: {}
taskRunTemplate:
serviceAccountName: build-pipeline-ubi8
workspaces:
- name: workspace
volumeClaimTemplate:
Expand Down