From ff2fd8553834a8055a8d18a9fa8c8b919b3b5f52 Mon Sep 17 00:00:00 2001 From: Mykola Marusenko Date: Mon, 11 Nov 2024 12:50:19 +0200 Subject: [PATCH] chore: Set correct image tag for kaniko task (#348) --- charts/pipelines-library/templates/tasks/git-cli.yaml | 2 +- charts/pipelines-library/templates/tasks/kaniko.yaml | 2 +- .../templates/tasks/send-to-microsoft-teams.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/pipelines-library/templates/tasks/git-cli.yaml b/charts/pipelines-library/templates/tasks/git-cli.yaml index 840d4876..f69a3f52 100644 --- a/charts/pipelines-library/templates/tasks/git-cli.yaml +++ b/charts/pipelines-library/templates/tasks/git-cli.yaml @@ -49,7 +49,7 @@ spec: description: | The base image for the task. type: string - default: {{ include "edp-tekton.registry" . }}/alpine/git:v2.26.2@sha256:23618034b0be9205d9cc0846eb711b12ba4c9b468efdd8a59aac1d7b1a23363f #tag: v2.26.2 + default: {{ include "edp-tekton.registry" . }}/alpine/git:v2.26.2 #@sha256:23618034b0be9205d9cc0846eb711b12ba4c9b468efdd8a59aac1d7b1a23363f - name: GIT_USER_NAME type: string description: | diff --git a/charts/pipelines-library/templates/tasks/kaniko.yaml b/charts/pipelines-library/templates/tasks/kaniko.yaml index 86dc515a..9e43eb33 100644 --- a/charts/pipelines-library/templates/tasks/kaniko.yaml +++ b/charts/pipelines-library/templates/tasks/kaniko.yaml @@ -51,7 +51,7 @@ spec: default: ./ - name: builder-image description: The image on which builds will run - default: {{ .Values.kaniko.image.repository }}:{{ .Values.tag }}-debug + default: {{ .Values.kaniko.image.repository }}:{{ .Values.kaniko.image.tag }}-debug results: - name: IMAGE_DIGEST description: Digest of the image just built. diff --git a/charts/pipelines-library/templates/tasks/send-to-microsoft-teams.yaml b/charts/pipelines-library/templates/tasks/send-to-microsoft-teams.yaml index bc250ec5..f92c340e 100644 --- a/charts/pipelines-library/templates/tasks/send-to-microsoft-teams.yaml +++ b/charts/pipelines-library/templates/tasks/send-to-microsoft-teams.yaml @@ -20,7 +20,7 @@ spec: description: The message to notify about steps: - name: post - image: {{ include "edp-tekton.registry" . }}/curlimages/curl:7.70.0@sha256:031df77a11e5edded840bc761a845eab6e3c2edee22669fb8ad6d59484b6a1c4 + image: {{ include "edp-tekton.registry" . }}/curlimages/curl:7.70.0 #@sha256:031df77a11e5edded840bc761a845eab6e3c2edee22669fb8ad6d59484b6a1c4 script: | #!/usr/bin/env sh MESSAGE=$(echo "${MESSAGE}" | sed -e 's/\"/\\\\"/g')