mirror of
				https://github.com/zoriya/Kyoo.git
				synced 2025-11-03 19:17:16 -05:00 
			
		
		
		
	Fix tag release CI (#363)
This commit is contained in:
		
						commit
						aba6c873df
					
				
							
								
								
									
										4
									
								
								.github/workflows/docker.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/docker.yml
									
									
									
									
										vendored
									
									
								
							@ -70,7 +70,7 @@ jobs:
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
      - name: Check if a package should be pushed
 | 
					      - name: Check if a package should be pushed
 | 
				
			||||||
        run: |
 | 
					        run: |
 | 
				
			||||||
          echo "SHOULD_PUSH=$([ "${GITHUB_REF##*/}" == "master" ] || [ "${GITHUB_REF##*/}" == "next" ] && echo "true" || echo "false")" >> $GITHUB_ENV
 | 
					          echo "SHOULD_PUSH=$([ "${GITHUB_REF##*/}" == "master" ] || [ "${GITHUB_REF##*/}" == "next" ] || [ "${GITHUB_REF_TYPE}" == "tag" ] && echo "true" || echo "false")" >> $GITHUB_ENV
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - name: Set up QEMU
 | 
					      - name: Set up QEMU
 | 
				
			||||||
        uses: docker/setup-qemu-action@v3
 | 
					        uses: docker/setup-qemu-action@v3
 | 
				
			||||||
@ -88,7 +88,7 @@ jobs:
 | 
				
			|||||||
      - name: Build and push
 | 
					      - name: Build and push
 | 
				
			||||||
        id: docker_build
 | 
					        id: docker_build
 | 
				
			||||||
        uses: docker/build-push-action@v5
 | 
					        uses: docker/build-push-action@v5
 | 
				
			||||||
        if: steps.filter.outputs.should_run == 'true' || github.event_name == 'workflow_dispatch'
 | 
					        if: steps.filter.outputs.should_run == 'true' || github.event_name == 'workflow_dispatch' || startsWith(github.event.ref, 'refs/tags/v')
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          context: ${{matrix.context}}
 | 
					          context: ${{matrix.context}}
 | 
				
			||||||
          file: ${{matrix.context}}/${{matrix.dockerfile}}
 | 
					          file: ${{matrix.context}}/${{matrix.dockerfile}}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user