first try of automated docker builds
	
		
			
	
		
	
	
		
	
		
			Some checks failed
		
		
	
	
		
			
				
	
				Build and push docker image / Build (pull_request) Failing after 36s
				
			
		
			
				
	
				Test code / Test code (push) Has been cancelled
				
			
		
			
				
	
				Test code / Test code (pull_request) Has been cancelled
				
			
		
			
				
	
				Build web / Build Web (pull_request) Has been cancelled
				
			
		
			
				
	
				Build and release APK / Build APK (pull_request) Has been cancelled
				
			
		
		
	
	
				
					
				
			
		
			Some checks failed
		
		
	
	Build and push docker image / Build (pull_request) Failing after 36s
				
			Test code / Test code (push) Has been cancelled
				
			Test code / Test code (pull_request) Has been cancelled
				
			Build web / Build Web (pull_request) Has been cancelled
				
			Build and release APK / Build APK (pull_request) Has been cancelled
				
			This commit is contained in:
		
							
								
								
									
										30
									
								
								.gitea/workflows/backed_build-image.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										30
									
								
								.gitea/workflows/backed_build-image.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,30 @@ | ||||
| on: | ||||
|   pull_request: | ||||
|     branches: | ||||
|       - main | ||||
|  | ||||
| name: Build and push docker image | ||||
|  | ||||
| jobs: | ||||
|   build: | ||||
|     name: Build | ||||
|     runs-on: ubuntu-latest | ||||
|     steps: | ||||
|  | ||||
|     - uses: https://gitea.com/actions/checkout@v4 | ||||
|      | ||||
|     - name: Login to Docker Registry | ||||
|       uses: docker/login-action@v3 | ||||
|       with: | ||||
|         registry: git.kluster.moll.re | ||||
|         username: ${{ gitea.repository_owner }} | ||||
|         password: ${{ secrets.GITEA_TOKEN}} | ||||
|  | ||||
|     - name: Set up Docker Buildx | ||||
|       uses: docker/setup-buildx-action@v3 | ||||
|  | ||||
|     - name: Build and push | ||||
|       uses: docker/build-push-action@v5 | ||||
|       with: | ||||
|         context: backend | ||||
|         tags: git.kluster.moll.re/renoll/fast_network_navigation/backend:latest | ||||
| @@ -1,10 +1,10 @@ | ||||
| FROM python:3 | ||||
|  | ||||
| WORKDIR /app | ||||
| COPY Pipfile Pipfile.lock /app/ | ||||
| COPY Pipfile Pipfile.lock . | ||||
|  | ||||
| RUN pip install pipenv | ||||
| RUN pipenv install --deploy --ignore-pipfile | ||||
| RUN pipenv install --deploy --system | ||||
|  | ||||
| COPY . /src | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user