Infra: Add actions to publish to ECR & Docker Hub (#347) #157
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: "Infra: Release Drafter run" | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| workflow_dispatch: | |
| inputs: | |
| version: | |
| description: 'Release version' | |
| required: false | |
| branch: | |
| description: 'Target branch' | |
| required: false | |
| default: 'main' | |
| permissions: | |
| contents: read | |
| jobs: | |
| update_release_draft: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| steps: | |
| - uses: release-drafter/release-drafter@v6 | |
| with: | |
| config-name: release_drafter.yaml | |
| disable-autolabeler: true | |
| version: ${{ github.event.inputs.version }} | |
| commitish: ${{ github.event.inputs.branch }} | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |