This commit is contained in:
		
							
								
								
									
										2
									
								
								.github/workflows/build.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/build.yml
									
									
									
									
										vendored
									
									
								
							@@ -15,7 +15,7 @@ jobs:
 | 
			
		||||
          REGISTRY="$(echo "${{github.server_url}}" | sed -E 's|https?://||')"
 | 
			
		||||
          DOCKER_HUB=$([ -n "${{secrets.DOCKER_HUB_USER}}" ] && [ -n "${{secrets.DOCKER_HUB_TOKEN}}" ] && [ -n "${{secrets.DOCKER_HUB_IMAGE}}" ] && echo "true" || echo "false")
 | 
			
		||||
          
 | 
			
		||||
          git clone -b "${{github.ref_name}}" "${{github.token}}@${REGISTRY}/${{github.repository}}.git" .
 | 
			
		||||
          git clone -b "${{github.ref_name}}" "$(echo ${{github.server_url}}/${{github.repository}}.git | sed s%://%://${{github.token}}@% )" .
 | 
			
		||||
          VERSION="$(grep -oP '(?<="version": ")[^"]+' package.json)"
 | 
			
		||||
  
 | 
			
		||||
          docker login -u "${{github.repository_owner}}" -p "${{secrets.DEPLOY_TOKEN}}" "$REGISTRY"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user