Skip to content

Conversation

@mtrmac
Copy link
Collaborator

@mtrmac mtrmac commented Sep 20, 2016

Not pushing to a tag makes the image impossible to pull with a tag.

This is not really correct because we keep the Name and Tag in schema1 manifests unmodified, and older registry versions (in particular OpenShift 1.1) do inspect those fields. But, it is better than nothing,
and for OpenShift manifest uploads via the Docker API ( #95 ) a tag is required.

Recent versions of registry, both docker/distribution and OpenShift, AFAICS completely ignore the tag in schema1 manifests; so that should work fine.

@runcom
Copy link
Member

runcom commented Sep 20, 2016

lgtm

Approved with PullApprove

Not pushing to a tag makes the image impossible to pull with a tag.

This is not really correct because we keep the Name and Tag in schema1
manifests unmodified, and older registry versions (in particular
OpenShift 1.1) do inspect those fields.  But, it is better than nothing,
and for OpenShift manifest uploads via the Docker API
( containers#95 )a tag is required.

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
@mtrmac mtrmac force-pushed the minimal-docker-push-to-tag branch from 8b403f6 to 4157984 Compare September 20, 2016 15:04
@mtrmac
Copy link
Collaborator Author

mtrmac commented Sep 20, 2016

👍

Approved with PullApprove

@mtrmac mtrmac merged commit ee061a6 into containers:master Sep 20, 2016
@mtrmac mtrmac deleted the minimal-docker-push-to-tag branch September 20, 2016 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants