added dry run
This commit is contained in:
		
							parent
							
								
									473615082c
								
							
						
					
					
						commit
						62bb715962
					
				
					 1 changed files with 13 additions and 0 deletions
				
			
		| 
						 | 
					@ -14,6 +14,17 @@ variables:
 | 
				
			||||||
  - &repo git.jmbit.de/jmbit/docker-hugo
 | 
					  - &repo git.jmbit.de/jmbit/docker-hugo
 | 
				
			||||||
 | 
					
 | 
				
			||||||
steps:
 | 
					steps:
 | 
				
			||||||
 | 
					    dryrun:
 | 
				
			||||||
 | 
					    image: woodpeckerci/plugin-docker-buildx
 | 
				
			||||||
 | 
					    settings:
 | 
				
			||||||
 | 
					      dockerfile: *file
 | 
				
			||||||
 | 
					      platforms: linux/arm/v7,linux/arm64/v8,linux/amd64,linux/ppc64le
 | 
				
			||||||
 | 
					      dry_run: true
 | 
				
			||||||
 | 
					      repo: *repo
 | 
				
			||||||
 | 
					      tags: latest
 | 
				
			||||||
 | 
					    when:
 | 
				
			||||||
 | 
					      event: pull_request
 | 
				
			||||||
 | 
					      path: *file
 | 
				
			||||||
  publish:
 | 
					  publish:
 | 
				
			||||||
    image: woodpeckerci/plugin-docker-buildx
 | 
					    image: woodpeckerci/plugin-docker-buildx
 | 
				
			||||||
    settings:
 | 
					    settings:
 | 
				
			||||||
| 
						 | 
					@ -29,4 +40,6 @@ steps:
 | 
				
			||||||
        from_secret: dockerhub_token
 | 
					        from_secret: dockerhub_token
 | 
				
			||||||
    when:
 | 
					    when:
 | 
				
			||||||
      event: push
 | 
					      event: push
 | 
				
			||||||
 | 
					      path: *file
 | 
				
			||||||
 | 
					      
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue