Add workflows to create releases and build Docker images
This commit is contained in:
		
							
								
								
									
										27
									
								
								.github/workflows/create-release.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										27
									
								
								.github/workflows/create-release.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,27 @@
 | 
			
		||||
name: Create Release
 | 
			
		||||
on:
 | 
			
		||||
  workflow_call:
 | 
			
		||||
 | 
			
		||||
jobs:
 | 
			
		||||
  create_release:
 | 
			
		||||
    name: Create Release
 | 
			
		||||
    runs-on: ubuntu-latest
 | 
			
		||||
    outputs:
 | 
			
		||||
      new_tag: ${{ steps.tag_version.outputs.new_tag }}
 | 
			
		||||
    steps:
 | 
			
		||||
      - uses: actions/checkout@v4
 | 
			
		||||
 | 
			
		||||
      - name: Bump version and push tag
 | 
			
		||||
        id: tag_version
 | 
			
		||||
        uses: mathieudutour/github-tag-action@v6.2
 | 
			
		||||
        with:
 | 
			
		||||
          github_token: ${{ secrets.GITHUB_TOKEN }}
 | 
			
		||||
          default_bump: minor
 | 
			
		||||
 | 
			
		||||
      - name: Create a GitHub release
 | 
			
		||||
        uses: ncipollo/release-action@v1
 | 
			
		||||
        with:
 | 
			
		||||
          tag: ${{ steps.tag_version.outputs.new_tag }}
 | 
			
		||||
          name: ${{ steps.tag_version.outputs.new_tag }}
 | 
			
		||||
          body: ${{ steps.tag_version.outputs.changelog }}
 | 
			
		||||
          generateReleaseNotes: true
 | 
			
		||||
		Reference in New Issue
	
	Block a user