From 61a85ffe266dfb8da7cd4a207677121b3d0a04b6 Mon Sep 17 00:00:00 2001 From: Jayesh Srivastava Date: Tue, 14 Nov 2023 17:27:37 +0530 Subject: [PATCH] Update spectro-release.yaml to create tag (#105) * PCP-1961: cluster api provider maas make and docker changes (#101) * Update spectro-release.yaml for tag instead of release * Update spectro-release.yaml for tag instead of release --------- Co-authored-by: Amit Sahastrabuddhe <33931378+AmitSahastra@users.noreply.github.com> --- .github/workflows/spectro-release.yaml | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/.github/workflows/spectro-release.yaml b/.github/workflows/spectro-release.yaml index b14a926..03a944b 100644 --- a/.github/workflows/spectro-release.yaml +++ b/.github/workflows/spectro-release.yaml @@ -67,16 +67,11 @@ jobs: make docker-build make docker-push - - name: Create Release + name: Create Tag if: ${{ github.event.inputs.rel_type == 'release' }} - id: create_release - uses: actions/create-release@v1 + id: tag_create + uses: rickstaa/action-create-tag@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - tag_name: v${{ github.event.inputs.release_version }}-spectro - release_name: Release v${{ github.event.inputs.release_version }}-spectro - body: | - Release version v${{ github.event.inputs.release_version }}-spectro - draft: false - prerelease: false + tag: v${{ github.event.inputs.release_version }}-spectro