Skip to content
This repository has been archived by the owner on Mar 18, 2024. It is now read-only.

Push image #97

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open

Conversation

divideandconquer
Copy link
Contributor

This PR also contains the BuildImage functionality from #85 Merge #85 First to see a better diff.

PushImage will take an image name, tag, and optional authentication configuration and push that image to an image repository e.g. https://quay.io/

@donhcd
Copy link
Collaborator

donhcd commented Oct 1, 2015

@divideandconquer Thanks for your contribution! do you have time to rebase this? we'd like this functionality, so if you don't have time I can take this over

@donhcd donhcd mentioned this pull request Oct 1, 2015
defer resp.Body.Close()
var finalObj map[string]interface{}
for decoder := json.NewDecoder(resp.Body); err == nil; err = decoder.Decode(&finalObj) {
}
Copy link
Contributor

Choose a reason for hiding this comment

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

was this meant to go after line 515?

Copy link
Collaborator

Choose a reason for hiding this comment

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

no. this loop gets the final object in the json stream

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants