docker-workflow-plugin
docker-workflow-plugin copied to clipboard
[JENKINS-44234] after pulling a image it is now possible to tag it
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
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
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.
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
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.