Release #20
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 | |
| on: | |
| workflow_dispatch: | |
| inputs: | |
| version: | |
| description: "Version string to use while publishing the package (e.g. v1.0.0-alpha.1)" | |
| default: '' | |
| required: true | |
| jobs: | |
| publish-github-release: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - name: Release | |
| uses: softprops/action-gh-release@v2 | |
| with: | |
| draft: false | |
| prerelease: false | |
| generate_release_notes: true | |
| make_latest: true | |
| tag_name: ${{ github.event.inputs.version }} | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| publish-provider-package: | |
| uses: crossplane-contrib/provider-workflows/.github/workflows/publish-provider-non-family.yml@main | |
| with: | |
| repository: provider-palette | |
| version: ${{ github.event.inputs.version }} | |
| cleanup-disk: true | |
| secrets: | |
| GHCR_PAT: ${{ secrets.GITHUB_TOKEN }} | |
| XPKG_MIRROR_TOKEN: ${{ secrets.UPBOUND_MARKETPLACE_PUSH_ROBOT_PSW }} | |
| XPKG_MIRROR_ACCESS_ID: ${{ secrets.UPBOUND_MARKETPLACE_PUSH_ROBOT_USR }} | |
| publish-docs: | |
| runs-on: ubuntu-22.04 | |
| needs: [publish-github-release] | |
| steps: | |
| - name: Trigger docs.crd.dev index | |
| run: | | |
| curl -v https://doc.crds.dev/github.com/crossplane-contrib/provider-palette@${{ github.event.inputs.version }} | |
| echo "Triggered docs.crd.dev to index provider-palette@${{ github.event.inputs.version }}" |