Fix the OOM issue when building the frontend docker image for armv7
This commit is contained in:
		
							parent
							
								
									7fecea9cca
								
							
						
					
					
						commit
						bb2e4a4fb3
					
				
							
								
								
									
										11
									
								
								.github/workflows/on-tag.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										11
									
								
								.github/workflows/on-tag.yml
									
									
									
									
										vendored
									
									
								
							| @ -1,7 +1,7 @@ | |||||||
| name: Docker build on tag | name: Docker build on tag | ||||||
| env: | env: | ||||||
|   DOCKER_CLI_EXPERIMENTAL: enabled |   DOCKER_CLI_EXPERIMENTAL: enabled | ||||||
|   TAG_FMT: '^refs/tags/(((.?[0-9]+){3,4}))$' |   TAG_FMT: "^refs/tags/(((.?[0-9]+){3,4}))$" | ||||||
|   DOCKER_BUILDKIT: 0 |   DOCKER_BUILDKIT: 0 | ||||||
|   COMPOSE_DOCKER_CLI_BUILD: 0 |   COMPOSE_DOCKER_CLI_BUILD: 0 | ||||||
| 
 | 
 | ||||||
| @ -21,9 +21,16 @@ jobs: | |||||||
|         service: |         service: | ||||||
|           - frontend |           - frontend | ||||||
|           - backend |           - backend | ||||||
|     runs-on: ubuntu-18.04 |     runs-on: ubuntu-latest | ||||||
|  |     timeout-minutes: 120 | ||||||
|     name: Build and push to DockerHub |     name: Build and push to DockerHub | ||||||
|     steps: |     steps: | ||||||
|  |       - name: Run Docker on tmpfs | ||||||
|  |         uses: JonasAlfredsson/docker-on-tmpfs@v1.0.1 | ||||||
|  |         with: | ||||||
|  |           tmpfs_size: 10 | ||||||
|  |           swap_size: 10 | ||||||
|  | 
 | ||||||
|       - name: Set env variables |       - name: Set env variables | ||||||
|         run: echo "TAG=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_ENV |         run: echo "TAG=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_ENV | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user