This commit is contained in:
2024-04-22 12:08:46 +02:00
parent 24c7450011
commit c52743371f

View File

@@ -29,7 +29,7 @@ spec:
finally:
- name: inform-gitea-success
when:
- cel: "tasks.status in ['Succeeded','Completed']"
- cel: "'$(tasks.status)' in ['Succeeded','Completed']"
params:
- name: REPO_FULL_NAME
value: $(params.project-path)
@@ -45,7 +45,7 @@ spec:
name: gitea-set-status
- name: inform-gitea-warning
when:
- cel: "tasks.status == 'None'"
- cel: "'$(tasks.status)' == 'None'"
params:
- name: REPO_FULL_NAME
value: $(params.project-path)
@@ -61,7 +61,7 @@ spec:
name: gitea-set-status
- name: inform-gitea-error
when:
- cel: "tasks.status == 'Failed'"
- cel: "'$(tasks.status)' == 'Failed'"
params:
- name: REPO_FULL_NAME
value: $(params.project-path)
@@ -210,7 +210,7 @@ spec:
- input: "publish-docker"
operator: in
values: ["$(tasks.detect-stages.results.stages-publish[*])"]
- cel: "params.branch-name == params.git-default-branch"
- cel: "'$(params.branch-name)' == '$(params.git-default-branch)'"
taskRef:
name: buildah
matrix: