mirror of
				https://github.com/open-metadata/OpenMetadata.git
				synced 2025-10-31 10:39:30 +00:00 
			
		
		
		
	[Issue-5029] Added manual trigger and input tag. (#5623)
This commit is contained in:
		
							parent
							
								
									7431c1c226
								
							
						
					
					
						commit
						3e18f842e1
					
				| @ -11,13 +11,25 @@ | ||||
| 
 | ||||
| name: docker-openmetadata-airflow docker | ||||
| on: | ||||
|   workflow_dispatch: | ||||
|     inputs: | ||||
|       tag: | ||||
|         description: "Input tag" | ||||
|         required: true | ||||
|   release: | ||||
|     types: [published] | ||||
| 
 | ||||
|   | ||||
| jobs: | ||||
|   push_to_docker_hub: | ||||
|     runs-on: ubuntu-latest | ||||
|     env: | ||||
|       input: ${{ github.event.inputs.tag }} | ||||
|        | ||||
|     steps: | ||||
|       - name: Check trigger type | ||||
|         if: ${{ env.input == '' }} | ||||
|         run: echo "input=0.10.4" >> $GITHUB_ENV | ||||
|          | ||||
|       - name: Check out the Repo | ||||
|         uses: actions/checkout@v2 | ||||
| 
 | ||||
| @ -40,5 +52,5 @@ jobs: | ||||
|           platforms: linux/amd64,linux/arm64 | ||||
|           push: ${{ github.event_name == 'release' }} | ||||
|           # Update tags before every release | ||||
|           tags: 'openmetadata/airflow:0.10.1,openmetadata/airflow:latest' | ||||
|           tags: 'openmetadata/airflow:$input,openmetadata/airflow:latest' | ||||
|           file: ./docker/airflow/Dockerfile | ||||
|  | ||||
							
								
								
									
										16
									
								
								.github/workflows/docker-openmetadata-db.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										16
									
								
								.github/workflows/docker-openmetadata-db.yml
									
									
									
									
										vendored
									
									
								
							| @ -11,13 +11,25 @@ | ||||
| 
 | ||||
| name: docker-openmetadata-db docker | ||||
| on: | ||||
|   workflow_dispatch: | ||||
|     inputs: | ||||
|       tag: | ||||
|         description: "Input tag" | ||||
|         required: true | ||||
|   release: | ||||
|     types: [published] | ||||
| 
 | ||||
| jobs: | ||||
|   push_to_docker_hub: | ||||
|     runs-on: ubuntu-latest | ||||
|     env: | ||||
|       input: ${{ github.event.inputs.tag }} | ||||
|      | ||||
|     steps: | ||||
|       - name: Check trigger type | ||||
|         if: ${{ env.input == '' }} | ||||
|         run: echo "input=0.10.4" >> $GITHUB_ENV | ||||
|          | ||||
|       - name: Check out the Repo | ||||
|         uses: actions/checkout@v2 | ||||
| 
 | ||||
| @ -40,5 +52,5 @@ jobs: | ||||
|           platforms: linux/amd64,linux/arm64 | ||||
|           push: ${{ github.event_name == 'release' }} | ||||
|           # Update tags before every release | ||||
|           tags: 'openmetadata/db:0.10.0,openmetadata/db:latest' | ||||
|           file: ./docker/local-metadata/Dockerfile_mysql | ||||
|           tags: 'openmetadata/db:$input,openmetadata/db:latest' | ||||
|           file: ./docker/local-metadata/Dockerfile_mysql | ||||
|  | ||||
| @ -11,13 +11,25 @@ | ||||
| 
 | ||||
| name: docker-openmetadata-ingestion docker | ||||
| on: | ||||
|   workflow_dispatch: | ||||
|     inputs: | ||||
|       tag: | ||||
|         description: "Input tag" | ||||
|         required: true | ||||
|   release: | ||||
|     types: [published] | ||||
| 
 | ||||
| jobs: | ||||
|   push_to_docker_hub: | ||||
|     runs-on: ubuntu-latest | ||||
|     env: | ||||
|       input: ${{ github.event.inputs.tag }} | ||||
|        | ||||
|     steps: | ||||
|       - name: Check trigger type | ||||
|         if: ${{ env.input == '' }} | ||||
|         run: echo "input=0.10.4" >> $GITHUB_ENV | ||||
|          | ||||
|       - name: Check out the Repo | ||||
|         uses: actions/checkout@v2 | ||||
| 
 | ||||
| @ -50,5 +62,5 @@ jobs: | ||||
|           platforms: linux/amd64,linux/arm64 | ||||
|           push: ${{ github.event_name == 'release' }} | ||||
|           # Update tags before every release | ||||
|           tags: 'openmetadata/ingestion:0.10.0,openmetadata/ingestion:latest' | ||||
|           tags: 'openmetadata/ingestion:$input,openmetadata/ingestion:latest' | ||||
|           file: ./ingestion/Dockerfile | ||||
|  | ||||
							
								
								
									
										14
									
								
								.github/workflows/docker-openmetadata-server.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										14
									
								
								.github/workflows/docker-openmetadata-server.yml
									
									
									
									
										vendored
									
									
								
							| @ -11,13 +11,25 @@ | ||||
| 
 | ||||
| name: docker-openmetadata-server docker | ||||
| on: | ||||
|   workflow_dispatch: | ||||
|     inputs: | ||||
|       tag: | ||||
|         description: "Input tag" | ||||
|         required: true | ||||
|   release: | ||||
|     types: [published] | ||||
| 
 | ||||
| jobs: | ||||
|   push_to_docker_hub: | ||||
|     runs-on: ubuntu-latest | ||||
|     env: | ||||
|       input: ${{ github.event.inputs.tag }} | ||||
|        | ||||
|     steps: | ||||
|       - name: Check trigger type | ||||
|         if: ${{ env.input == '' }} | ||||
|         run: echo "input=0.10.4" >> $GITHUB_ENV | ||||
|      | ||||
|       - name: Check out the Repo | ||||
|         uses: actions/checkout@v2 | ||||
| 
 | ||||
| @ -40,5 +52,5 @@ jobs: | ||||
|           platforms: linux/amd64,linux/arm64 | ||||
|           push: ${{ github.event_name == 'release' }} | ||||
|           # Update tags before every release | ||||
|           tags: 'openmetadata/server:0.10.0,openmetadata/server:latest' | ||||
|           tags: 'openmetadata/server:$input,openmetadata/server:latest' | ||||
|           file: ./docker/metadata/Dockerfile | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Rabi Narayan Sahoo
						Rabi Narayan Sahoo