docker-workflow-plugin icon indicating copy to clipboard operation
docker-workflow-plugin copied to clipboard

[JENKINS-44234] after pulling a image it is now possible to tag it

Open schreibe72 opened this issue 8 years ago • 4 comments
trafficstars

If you pull a Image from a private Registry you can't tag it.

docker.withRegistry("https://docker.bla.de"){
            r_image = docker.image("${docker_image_name}:${dev_image_tag}")
            r_image.pull()
            r_image.tag("current")
        }

This happens because the id is used instead of the image name. The id didn't contain the registry. This pull request should fix it.

Jira Issue: JENKINS-44234

schreibe72 avatar May 12 '17 11:05 schreibe72

There seems to be a problem with the jenkins job: ERROR: Maven JVM terminated unexpectedly with exit code 137 The same problem building the master branch: git tag 484fdc9fc42dda39aff77e210fcd41a8d49d3486 Build #287

schreibe72 avatar May 12 '17 12:05 schreibe72

All the registry prefix handling is in a confused state, and I am not accepting any further changes to this code. You are advised to use docker CLI commands from sh steps rather than relying on the DSL.

jglick avatar Jun 16 '17 13:06 jglick

Can you mark this repository as deprecated? This is the only official line on the matter that I've found, and as a result have wasted a substantial amount of time

moonthug avatar Nov 12 '18 14:11 moonthug

Proposed https://github.com/jenkinsci/docker-workflow-plugin/pull/289 to clarify the status. Also marked the repository as ðeprecated to make this clearer to folks.

batmat avatar Dec 09 '22 10:12 batmat