{"action":"opened","issue":{"url":"https://api.github.com/repos/fabric8io/fabric8-maven-plugin/issues/1386","repository_url":"https://api.github.com/repos/fabric8io/fabric8-maven-plugin","labels_url":"https://api.github.com/repos/fabric8io/fabric8-maven-plugin/issues/1386/labels{/name}","comments_url":"https://api.github.com/repos/fabric8io/fabric8-maven-plugin/issues/1386/comments","events_url":"https://api.github.com/repos/fabric8io/fabric8-maven-plugin/issues/1386/events","html_url":"https://github.com/fabric8io/fabric8-maven-plugin/issues/1386","id":361171383,"node_id":"MDU6SXNzdWUzNjExNzEzODM=","number":1386,"title":"Fabric8 MVN Plugin 3.5.41: Allow @sha256 digest for tags in FROM","user":{"login":"mmkonrad","id":10400745,"node_id":"MDQ6VXNlcjEwNDAwNzQ1","avatar_url":"https://avatars1.githubusercontent.com/u/10400745?v=4","gravatar_id":"","url":"https://api.github.com/users/mmkonrad","html_url":"https://github.com/mmkonrad","followers_url":"https://api.github.com/users/mmkonrad/followers","following_url":"https://api.github.com/users/mmkonrad/following{/other_user}","gists_url":"https://api.github.com/users/mmkonrad/gists{/gist_id}","starred_url":"https://api.github.com/users/mmkonrad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmkonrad/subscriptions","organizations_url":"https://api.github.com/users/mmkonrad/orgs","repos_url":"https://api.github.com/users/mmkonrad/repos","events_url":"https://api.github.com/users/mmkonrad/events{/privacy}","received_events_url":"https://api.github.com/users/mmkonrad/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-18T07:33:09Z","updated_at":"2018-09-18T07:33:09Z","closed_at":null,"author_association":"NONE","body":"Hello there!\r\n\r\nToday I ran into an error in Jenkins, using the fabric8 maven plugin, that seems to exist for quite some time. It got already reported in [docker-maven-plugin Issue #541](https://github.com/fabric8io/docker-maven-plugin/issues/541)  but it looks like it never got fixed (Issue still open).\r\n\r\nAs the headline states the fabric8 maven plugin in version 3.5.41 is not able to process @sha256 digests.\r\n\r\nIn the docker-maven-plugin the responsible class seems to be [ImageName.java.](https://github.com/fabric8io/docker-maven-plugin/blob/master/src/main/java/io/fabric8/maven/docker/util/ImageName.java) More likely the regex Patterns at the end of the file.\r\n\r\nDoes a solution to this problem already exist or exist plans to eliminate the problem?\r\n\r\nIf so, please give notice, that would be much appreciated\r\n\r\nCheers,\r\nMarcus\r\n\r\n\r\n### Info\r\n\r\n* f-m-p version : 3.5.41\r\n* Jenkins Maven Integration Plugin: 3.1.2 \r\n* Kubernetes / OpenShift setup and version : >=3.7\r\n* If it's a bug, how to reproduce : \r\nStart a Maven build with fabric8 maven plugin to build a docker image that holds a sha256 digest in the FROM clause in Dockerfile\r\nError Message: \r\n```\r\n[main] ERROR org.apache.maven.cli.MavenCli - Failed to execute goal io.fabric8:fabric8-maven-plugin:3.5.41:build (default) on project ###-###-docker-image: Failed to execute the build: Error while trying to build the image: Given Docker name '###########/solr:7.4-alpine@sha256:dd81436461637eac88c4a2ebfb59af3cffd3d5b928fd68315d8a1a175243242c' is invalid:\r\n[main] ERROR org.apache.maven.cli.MavenCli - * image part 'solr:7.4-alpine@sha256' doesn't match allowed pattern '[a-z0-9]+(?:(?:(?:[._]|__|[-]*)[a-z0-9]+)+)?(?:(?:/[a-z0-9]+(?:(?:(?:[._]|__|[-]*)[a-z0-9]+)+)?)+)?' ''\r\n```\r\n\r\nNote: ### means anonymization of information"}}
{"actor":{"display_login":"mmkonrad"}}