public void pushImage( String dockerServer, String imageName, String registryAccount, boolean forceTagging, boolean keepTaggedImage) { selectImage(dockerServer, imageName); new ContextMenu("Push...").select(); new WaitUntil(new ShellWithTextIsAvailable("Push Image"), TimePeriod.NORMAL); Combo combo = new DefaultCombo(); combo.setSelection(registryAccount); new CheckBox("Force tagging image with selected registry").toggle(forceTagging); new CheckBox("Keep tagged image upon completion").toggle(keepTaggedImage); new FinishButton().click(); }
public void addTagToImage(String serverName, String imageName, String newTag) { selectImage(serverName, imageName); new ContextMenu("Add Tag").select(); new LabeledText("New Tag:").setText(newTag); new FinishButton().click(); }
public void openImageHierarchy(String dockerServer, String imageName) { selectImage(dockerServer, imageName); new ContextMenu("Open Image Hierarchy").select(); }