From 238f6cdfc0c920d8e961e7f69caf5f5146e8e07a Mon Sep 17 00:00:00 2001 From: GCHQDeveloper314 <94527357+GCHQDeveloper314@users.noreply.github.com> Date: Thu, 28 Mar 2024 10:34:58 +0000 Subject: [PATCH] Add option to manually run image release workflow --- .github/workflows/release.yaml | 7 ++++++- cd/build_core_images.sh | 0 2 files changed, 6 insertions(+), 1 deletion(-) mode change 100644 => 100755 cd/build_core_images.sh diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 9360b261..33e2197b 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -18,11 +18,12 @@ on: milestone: types: - closed + workflow_dispatch: jobs: create-release-tag: runs-on: ubuntu-latest - + if: github.event_name == 'milestone' outputs: branch_name: ${{ steps.branch.outputs.branch_name }} @@ -67,6 +68,7 @@ jobs: update-branches: runs-on: ubuntu-latest + if: github.event_name == 'milestone' strategy: matrix: branch: @@ -121,6 +123,7 @@ jobs: create-release-notes: runs-on: ubuntu-latest + if: github.event_name == 'milestone' needs: - create-release-tag - update-branches @@ -154,6 +157,7 @@ jobs: upload-release-artifacts: runs-on: ubuntu-latest + if: github.event_name == 'milestone' needs: - create-release-tag - create-release-notes @@ -201,6 +205,7 @@ jobs: update-helm-repo: runs-on: ubuntu-latest + if: github.event_name == 'milestone' needs: - upload-release-artifacts diff --git a/cd/build_core_images.sh b/cd/build_core_images.sh old mode 100644 new mode 100755