From 044b787558a11097402b42de0698db68e166af04 Mon Sep 17 00:00:00 2001 From: StinkyBenji Date: Mon, 30 Oct 2023 15:45:09 +0100 Subject: [PATCH] fix: the name of cleanup task --- .tekton/ansible-ee-pipeline.yaml | 4 ++-- .tekton/tasks/delete-internal-image-tag.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.tekton/ansible-ee-pipeline.yaml b/.tekton/ansible-ee-pipeline.yaml index 1abf14e..384dff6 100644 --- a/.tekton/ansible-ee-pipeline.yaml +++ b/.tekton/ansible-ee-pipeline.yaml @@ -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: @@ -193,7 +193,7 @@ spec: finally: - name: clean-up taskRef: - name: delete-image-stream + name: delete-internal-image-tag workspaces: - name: source workspace: source diff --git a/.tekton/tasks/delete-internal-image-tag.yaml b/.tekton/tasks/delete-internal-image-tag.yaml index e300d98..0ad8927 100644 --- a/.tekton/tasks/delete-internal-image-tag.yaml +++ b/.tekton/tasks/delete-internal-image-tag.yaml @@ -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: