-
Notifications
You must be signed in to change notification settings - Fork 35
Added capability to support docker pull with image sha #323
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| } | ||
|
|
||
| // Returns the physical Artifactory repository name of the pulled/pushed image, by reading a response header from Artifactory. | ||
| func (image *Image) GetRemoteRepoAndManifestTypeAndLeadSha(serviceManager artifactory.ArtifactoryServicesManager) (string, string, string, error) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed this function since a problem was identified where response was missing headers X-Artifactory-Filename
bhanurp
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lets retry running go fmt some imports are not grouped properly
Description:
Added support for collecting build info for sha based image resolution from artifactory, for example:
docker command ->
jf docker pull <registry>/<namespace>/<image>@sha:xyz --build-name <build-name> --build-number <build-number>depends on: