From da0be3b0130435a14a86d8eccdcc29d37bb27ecf Mon Sep 17 00:00:00 2001 From: Karel Suta Date: Wed, 6 Sep 2023 12:42:46 +0200 Subject: [PATCH] Replace any image tag in codeflare-notebook-imagestream.yaml --- .github/workflows/tag-and-release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tag-and-release.yml b/.github/workflows/tag-and-release.yml index f1aea3df..b4b62435 100644 --- a/.github/workflows/tag-and-release.yml +++ b/.github/workflows/tag-and-release.yml @@ -71,8 +71,8 @@ jobs: - name: Adjust CodeFlare notebook ImageStream run: | - sed -i -E "s|(.*name: )v[0-9]+\.[0-9]+\.[0-9]+|\1${{ github.event.inputs.codeflare-sdk-version }}|" codeflare-notebook-imagestream.yaml - sed -i -E "s|(.*name: quay.io/project-codeflare/notebook:)v[0-9]+\.[0-9]+\.[0-9]+|\1${{ github.event.inputs.codeflare-sdk-version }}|" codeflare-notebook-imagestream.yaml + sed -i -E "s|(.*name: ).*|\1${{ github.event.inputs.codeflare-sdk-version }}|" codeflare-notebook-imagestream.yaml + sed -i -E "s|(.*name: quay.io/project-codeflare/notebook:).*|\1${{ github.event.inputs.codeflare-sdk-version }}|" codeflare-notebook-imagestream.yaml working-directory: codeflare-stack/base - name: Commit changes in the code back to repository