forked from open-webui/open-webui
		
	Merge pull request #1435 from cheahjs/fix/build-docker-tag
feat: trigger docker build after release
This commit is contained in:
		
						commit
						3e1c679f2d
					
				
					 2 changed files with 12 additions and 0 deletions
				
			
		
							
								
								
									
										11
									
								
								.github/workflows/build-release.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										11
									
								
								.github/workflows/build-release.yml
									
										
									
									
										vendored
									
									
								
							|  | @ -57,3 +57,14 @@ jobs: | ||||||
|         path: . |         path: . | ||||||
|       env: |       env: | ||||||
|         GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |         GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||||||
|  | 
 | ||||||
|  |     - name: Trigger Docker build workflow | ||||||
|  |       uses: actions/github-script@v7 | ||||||
|  |       with: | ||||||
|  |         script: | | ||||||
|  |           github.rest.actions.createWorkflowDispatch({ | ||||||
|  |             owner: context.repo.owner, | ||||||
|  |             repo: context.repo.repo, | ||||||
|  |             workflow_id: 'docker-build.yaml', | ||||||
|  |             ref: 'v${{ steps.get_version.outputs.version }}', | ||||||
|  |           }) | ||||||
|  |  | ||||||
							
								
								
									
										1
									
								
								.github/workflows/docker-build.yaml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.github/workflows/docker-build.yaml
									
										
									
									
										vendored
									
									
								
							|  | @ -3,6 +3,7 @@ name: Create and publish a Docker image | ||||||
| 
 | 
 | ||||||
| # Configures this workflow to run every time a change is pushed to the branch called `release`. | # Configures this workflow to run every time a change is pushed to the branch called `release`. | ||||||
| on: | on: | ||||||
|  |   workflow_dispatch: | ||||||
|   push: |   push: | ||||||
|     branches: |     branches: | ||||||
|       - main |       - main | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Timothy Jaeryang Baek
						Timothy Jaeryang Baek