From 7504586930b4314d2ace1926920f1af1325d48df Mon Sep 17 00:00:00 2001 From: Alejandro Ruiz <4057165+aruiz14@users.noreply.github.com> Date: Thu, 30 Jan 2025 11:19:40 +0100 Subject: [PATCH] Fix condition for hotfix releases (#3274) --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 214cc28582..43fa931eb7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,8 +22,8 @@ jobs: runs-on: runs-on,runner=8cpu-linux-x64,mem=16,run-id=${{ github.run_id }} env: - IS_HOTFIX: ${{ contains(github.ref, '-hotfix-ch-') }} - REGISTRY: "${{ contains(github.ref, '-hotfix-ch-') && 'stgregistry.suse.com' || 'docker.io' }}" + IS_HOTFIX: ${{ contains(github.ref, '-hotfix-') }} + REGISTRY: "${{ contains(github.ref, '-hotfix-') && 'stgregistry.suse.com' || 'docker.io' }}" if: github.repository == 'rancher/fleet' steps: