ref_name:main release_version: do nightly release #222
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Release Version | |
| on: | |
| workflow_dispatch: | |
| inputs: | |
| release_version: | |
| description: 'The version of release' | |
| required: false | |
| default: '' | |
| content: | |
| description: 'The request content' | |
| required: false | |
| default: '' | |
| run-name: ref_name:${{ github.ref_name }} release_version:${{ inputs.release_version }} ${{ inputs.content }} | |
| jobs: | |
| release-version: | |
| if: ${{ ! contains(inputs.content, 'nightly') }} | |
| uses: apecloud/apecloud-cd/.github/workflows/[email protected] | |
| with: | |
| RELEASE_VERSION: "${{ inputs.release_version }}" | |
| CONTENT: "${{ inputs.content }}" | |
| APECD_REF: "v0.1.34" | |
| secrets: inherit | |
| release-nightly: | |
| if: ${{ contains(inputs.content, 'nightly') }} | |
| uses: apecloud/apecloud-cd/.github/workflows/[email protected] | |
| with: | |
| TYPE: "1" | |
| VERSION: "${{ vars.NIGHTLY_RELEASE_VERSION }}" | |
| APECD_REF: "v0.1.94" | |
| BOT_TYPE: "release" | |
| secrets: inherit | |
| release-chart: | |
| needs: [ release-nightly ] | |
| uses: apecloud/apecloud-cd/.github/workflows/[email protected] | |
| with: | |
| GITHUB_REPO: "apecloud/ApeRAG" | |
| WORKFLOW_ID: "release-chart.yml" | |
| APECD_REF: "v0.1.94" | |
| BRANCH_NAME: "${{ vars.NIGHTLY_RELEASE_BRANCH }}" | |
| EXTRA_ARGS: "chart_version=${{ vars.NIGHTLY_RELEASE_VERSION }}" | |
| secrets: inherit | |
| release-image: | |
| needs: [ release-nightly ] | |
| uses: apecloud/apecloud-cd/.github/workflows/[email protected] | |
| with: | |
| GITHUB_REPO: "apecloud/ApeRAG" | |
| WORKFLOW_ID: "release-image.yml" | |
| APECD_REF: "v0.1.94" | |
| BRANCH_NAME: "${{ vars.NIGHTLY_RELEASE_BRANCH }}" | |
| EXTRA_ARGS: "image_tag=${{ vars.NIGHTLY_RELEASE_VERSION }}" | |
| secrets: inherit |