From d9306305ffe000e1e48c467e1e29eee87665d9da Mon Sep 17 00:00:00 2001 From: Heba <31887807+helayoty@users.noreply.github.com> Date: Mon, 4 Mar 2024 10:37:53 -0800 Subject: [PATCH] fix: update manifest and helm charts (#273) (#275) Signed-off-by: Heba <31887807+helayoty@users.noreply.github.com> Signed-off-by: Heba Elayoty --- .github/workflows/build-publish-image.yml | 4 ++-- .github/workflows/create-release.yml | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-publish-image.yml b/.github/workflows/build-publish-image.yml index ee5d563aa..5e32634cf 100644 --- a/.github/workflows/build-publish-image.yml +++ b/.github/workflows/build-publish-image.yml @@ -74,9 +74,9 @@ jobs: TRIVY_USERNAME: ${{ github.actor }} TRIVY_PASSWORD: ${{ secrets.GITHUB_TOKEN }} - - name: 'Dispatch tag to e2e test' + - name: 'Dispatch release tag' uses: peter-evans/repository-dispatch@v1 with: - token: ${{ secrets.PAT }} + token: ${{ secrets.GITHUB_TOKEN }} event-type: release-tag client-payload: '{"isRelease": true,"registry": "$${{ env.REGISTRY }}","tag": "v${{ env.IMG_TAG }}"}' diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index fb8009253..6dd55e35d 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -4,6 +4,9 @@ on: workflows: [ "Create, Scan and Publish KAITO image" ] types: [completed] branches: [release-**] + repository_dispatch: + types: [ release-tag ] + branches: [ release-** ] permissions: contents: write