mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-11-03 19:17:13 -05:00 
			
		
		
		
	Ensure build isn't skipped on beta tag
This commit is contained in:
		
							parent
							
								
									b4dc073a48
								
							
						
					
					
						commit
						f61105c041
					
				
							
								
								
									
										5
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										5
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							@ -146,7 +146,7 @@ jobs:
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  # build and push image to docker hub.
 | 
					  # build and push image to docker hub.
 | 
				
			||||||
  build-docker-image:
 | 
					  build-docker-image:
 | 
				
			||||||
    if: github.event_name == 'push' && (startsWith(github.ref, 'refs/heads/feature-') || github.ref == 'refs/heads/dev' || github.ref == 'refs/heads/beta' || startsWith(github.ref, 'refs/tags/ngx-'))
 | 
					    if: github.event_name == 'push' && (startsWith(github.ref, 'refs/heads/feature-') || github.ref == 'refs/heads/dev' || github.ref == 'refs/heads/beta' || startsWith(github.ref, 'refs/tags/ngx-' || startsWith(github.ref, 'refs/tags/beta-'))
 | 
				
			||||||
    runs-on: ubuntu-latest
 | 
					    runs-on: ubuntu-latest
 | 
				
			||||||
    needs: [tests, codeformatting, codestyle]
 | 
					    needs: [tests, codeformatting, codestyle]
 | 
				
			||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
@ -158,6 +158,9 @@ jobs:
 | 
				
			|||||||
          if [[ $GITHUB_REF == refs/tags/ngx-* ]]; then
 | 
					          if [[ $GITHUB_REF == refs/tags/ngx-* ]]; then
 | 
				
			||||||
            TAGS=${IMAGE_NAME}:${GITHUB_REF#refs/tags/ngx-},${IMAGE_NAME}:latest
 | 
					            TAGS=${IMAGE_NAME}:${GITHUB_REF#refs/tags/ngx-},${IMAGE_NAME}:latest
 | 
				
			||||||
            INSPECT_TAG=${IMAGE_NAME}:latest
 | 
					            INSPECT_TAG=${IMAGE_NAME}:latest
 | 
				
			||||||
 | 
					          elif [[ $GITHUB_REF == refs/tags/beta-* ]]; then
 | 
				
			||||||
 | 
					            TAGS=${IMAGE_NAME}:beta
 | 
				
			||||||
 | 
					            INSPECT_TAG=${TAGS}
 | 
				
			||||||
          elif [[ $GITHUB_REF == refs/heads/* ]]; then
 | 
					          elif [[ $GITHUB_REF == refs/heads/* ]]; then
 | 
				
			||||||
            TAGS=${IMAGE_NAME}:${GITHUB_REF#refs/heads/}
 | 
					            TAGS=${IMAGE_NAME}:${GITHUB_REF#refs/heads/}
 | 
				
			||||||
            INSPECT_TAG=${TAGS}
 | 
					            INSPECT_TAG=${TAGS}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user