From 0bb158b2e2c11a3d08dcb85c25a3c39a48616fd9 Mon Sep 17 00:00:00 2001 From: Luiz Carvalho Date: Wed, 6 Nov 2024 08:38:03 -0500 Subject: [PATCH] Fix release instructions Now that images are deployed to ghcr.io, different parameters are needed for the release Pipeline. Signed-off-by: Luiz Carvalho --- release/README.md | 2 ++ release/publish.yaml | 3 ++- release/release-pipeline.yaml | 4 ++-- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/release/README.md b/release/README.md index 14bd2ac730..2dce4b2c83 100644 --- a/release/README.md +++ b/release/README.md @@ -63,8 +63,10 @@ text editor. --param=gitRevision="${CHAINS_RELEASE_GIT_SHA}" \ --param=versionTag="${CHAINS_VERSION_TAG}" \ --param=serviceAccountPath=release.json \ + --param=serviceAccountImagesPath=credentials \ --param=releaseBucket=gs://tekton-releases/chains \ --workspace name=release-secret,secret=release-secret \ + --workspace name=release-images-secret,secret=ghcr-creds \ --use-param-defaults \ --workspace name=workarea,volumeClaimTemplateFile=workspace-template.yaml ``` diff --git a/release/publish.yaml b/release/publish.yaml index 7f0334606a..fcd7216b68 100644 --- a/release/publish.yaml +++ b/release/publish.yaml @@ -34,9 +34,10 @@ spec: description: The vX.Y.Z version that the artifacts should be tagged with (including `v`) - name: imageRegistry description: The target image registry - default: gcr.io + default: ghcr.io - name: imageRegistryPath description: The path (project) in the image registry + default: tektoncd/chains - name: imageRegistryRegions description: The target image registry regions default: "us eu asia" diff --git a/release/release-pipeline.yaml b/release/release-pipeline.yaml index 56b780951e..7be610fed9 100644 --- a/release/release-pipeline.yaml +++ b/release/release-pipeline.yaml @@ -29,10 +29,10 @@ spec: description: the git revision to release - name: imageRegistry description: The target image registry - default: gcr.io + default: ghcr.io - name: imageRegistryPath description: The path (project) in the image registry - default: tekton-releases + default: tektoncd/chains - name: imageRegistryRegions description: The target image registry regions default: "us eu asia"