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