diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1672db9a..bba79fbc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,8 +3,8 @@ name: Do release on: workflow_dispatch: inputs: - SOURCE_REF: - description: 'The hazelcast-docker branch to create the tag from' + VERSION: + description: 'The version to release' required: true RELEASE_TYPE: description: 'What should be built' @@ -20,8 +20,8 @@ on: type: environment workflow_call: inputs: - SOURCE_REF: - description: 'The hazelcast-docker branch to create the tag from' + VERSION: + description: 'The version to release' required: true type: string RELEASE_TYPE: @@ -42,7 +42,7 @@ jobs: - uses: ./.github/actions/get-tag-name id: tag-name with: - SOURCE_REF: ${{ inputs.SOURCE_REF }} + SOURCE_REF: ${{ inputs.VERSION }} - name: Create `${{ steps.tag-name.outputs.TAG_NAME }}` tag run: | @@ -64,7 +64,7 @@ jobs: -f sha="${SHA}" env: GH_TOKEN: ${{ github.token }} - SOURCE_REF: ${{ inputs.SOURCE_REF }} + SOURCE_REF: ${{ inputs.VERSION }} - name: Create release uses: ncipollo/release-action@b7eabc95ff50cbeeedec83973935c8f306dfcd0b # v1 @@ -75,7 +75,7 @@ jobs: tag-image-push: uses: ./.github/workflows/tag_image_push.yml with: - SOURCE_REF: ${{ inputs.SOURCE_REF }} + SOURCE_REF: ${{ inputs.VERSION }} RELEASE_TYPE: ${{ inputs.RELEASE_TYPE }} ENVIRONMENT: ${{ inputs.ENVIRONMENT }} secrets: inherit @@ -83,7 +83,7 @@ jobs: ee-nlc-tag-push: uses: ./.github/workflows/ee-nlc-tag-push.yml with: - SOURCE_REF: ${{ inputs.SOURCE_REF }} + SOURCE_REF: ${{ inputs.VERSION }} ENVIRONMENT: ${{ inputs.ENVIRONMENT }} secrets: inherit