tests for docker hub
This commit is contained in:
		
							parent
							
								
									30be600910
								
							
						
					
					
						commit
						43edfd37c8
					
				@ -26,6 +26,20 @@ local pipeline(os, arch) = {
 | 
			
		||||
        event: "tag"
 | 
			
		||||
      },
 | 
			
		||||
    },
 | 
			
		||||
    {
 | 
			
		||||
      name: "upload to docker hub " + os + "/" + arch,
 | 
			
		||||
      image: "plugins/docker",
 | 
			
		||||
      settings: {
 | 
			
		||||
        repo: "fftdf/ffmap-ubnt-api",
 | 
			
		||||
        username: { "from_secret": "docker_username" },
 | 
			
		||||
        password: { "from_secret": "docker_password" },
 | 
			
		||||
        auto_tag: true,
 | 
			
		||||
        auto_tag_suffix: os + "-" + arch
 | 
			
		||||
      },
 | 
			
		||||
      when: {
 | 
			
		||||
        event: "tag"
 | 
			
		||||
      },
 | 
			
		||||
    },
 | 
			
		||||
  ],
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user