mirror of
				https://github.com/ggml-org/llama.cpp.git
				synced 2025-10-30 08:42:00 +00:00 
			
		
		
		
	ci : build docker images only once daily (#10503)
This commit is contained in:
		
							
								
								
									
										11
									
								
								.github/workflows/docker.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										11
									
								
								.github/workflows/docker.yml
									
									
									
									
										vendored
									
									
								
							| @@ -10,12 +10,10 @@ | |||||||
| name: Publish Docker image | name: Publish Docker image | ||||||
|  |  | ||||||
| on: | on: | ||||||
|   #pull_request: |   workflow_dispatch: # allows manual triggering | ||||||
|   push: |   schedule: | ||||||
|     branches: |     # Rebuild daily rather than on every push because it is expensive | ||||||
|       - master |     - cron: '12 4 * * *' | ||||||
|     paths: ['.github/workflows/docker.yml', '.devops/*.Dockerfile', '**/CMakeLists.txt', '**/Makefile', '**/*.h', '**/*.hpp', '**/*.c', '**/*.cpp', '**/*.cu', '**/*.cuh', '**/*.swift', '**/*.m', '**/*.metal'] |  | ||||||
|   workflow_dispatch: # allows manual triggering, useful for debugging |  | ||||||
|  |  | ||||||
| concurrency: | concurrency: | ||||||
|   group: ${{ github.workflow }}-${{ github.head_ref && github.ref || github.run_id }} |   group: ${{ github.workflow }}-${{ github.head_ref && github.ref || github.run_id }} | ||||||
| @@ -29,7 +27,6 @@ permissions: | |||||||
| jobs: | jobs: | ||||||
|   push_to_registry: |   push_to_registry: | ||||||
|     name: Push Docker image to Docker Hub |     name: Push Docker image to Docker Hub | ||||||
|     #if: github.event.pull_request.draft == false |  | ||||||
|  |  | ||||||
|     runs-on: ubuntu-latest |     runs-on: ubuntu-latest | ||||||
|     env: |     env: | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Diego Devesa
					Diego Devesa