Skip to content

Commit

Permalink
fix: the name of cleanup task
Browse files Browse the repository at this point in the history
  • Loading branch information
StinkyBenji committed Oct 30, 2023
1 parent 42356d7 commit 044b787
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .tekton/ansible-ee-pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ metadata:
pipelinesascode.tekton.dev/task-5: "[.tekton/tasks/ansible-ee-sanity-test.yaml]"
pipelinesascode.tekton.dev/task-6: "[.tekton/tasks/semantic-release.yaml]"
pipelinesascode.tekton.dev/task-7: "[.tekton/tasks/push-ee-image.yaml]"
pipelinesascode.tekton.dev/task-8: "[.tekton/tasks/delete-image-tag.yaml]"
pipelinesascode.tekton.dev/task-8: "[.tekton/tasks/delete-internal-image-tag.yaml]"
pipelinesascode.tekton.dev/on-cel-expression: |
event == "pull_request" || event == "push" && target_branch == "main" && "examples/ansible-ee/***".pathChanged() || ".tekton/ansible-ee-pipeline.yaml".pathChanged()
spec:
Expand Down Expand Up @@ -193,7 +193,7 @@ spec:
finally:
- name: clean-up
taskRef:
name: delete-image-stream
name: delete-internal-image-tag
workspaces:
- name: source
workspace: source
Expand Down
2 changes: 1 addition & 1 deletion .tekton/tasks/delete-internal-image-tag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
apiVersion: tekton.dev/v1beta1
kind: Task
metadata:
name: delete-image-tag
name: delete-internal-image-tag
labels:
app.kubernetes.io/version: "0.1"
annotations:
Expand Down

0 comments on commit 044b787

Please sign in to comment.