Skip to content
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

Add an initial "manifest-tool" implementation #3058

Merged
merged 1 commit into from
Jun 13, 2017

Conversation

tianon
Copy link
Member

@tianon tianon commented Jun 13, 2017

This is the next major milestone towards #2289. This adds manifest list support for our new Architectures fields, and technically also for SharedTags fields, but I haven't tested that support yet (priority ATM is Architectures -- we'll hit back on SharedTags after we get Architectures in good shape).

See https://hub.docker.com/u/trollin/ for a few repos I've pushed using this. 👍

@tianon
Copy link
Member Author

tianon commented Jun 13, 2017

cc @estesp -- if you've got time to even glance over this, that'd be awesome ❤️ 🙏 👍

if err := manifestToolPushFromSpec(tagYaml); err != nil {
return fmt.Errorf("failed pushing %q (%q)", tag, entry.TagsString())
}
}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See estesp/manifest-tool#23 for some discussion of making manifest-tool more efficient for our use case (and thus removing the need for so many nested loops 😇).

@tianon
Copy link
Member Author

tianon commented Jun 13, 2017

I've now tested the SharedTags portion of this code, and it works too! 😄 😇 🎉

@yosifkit yosifkit merged commit a7ad308 into docker-library:master Jun 13, 2017
@yosifkit yosifkit deleted the manifest-tool branch June 13, 2017 19:42
@estesp
Copy link

estesp commented Jun 13, 2017

Looks good! I'll work on the tags issue as soon as I can get around to it later this week!

@tianon
Copy link
Member Author

tianon commented Jun 13, 2017

You're a hero; thanks @estesp 👍

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.

3 participants