Skip to content
This repository was archived by the owner on Jun 3, 2025. It is now read-only.

Add a mode to save to a tarball instead of pushing.#178

Merged
dlorenc merged 1 commit intoGoogleContainerTools:masterfrom
dlorenc:tar
May 15, 2018
Merged

Add a mode to save to a tarball instead of pushing.#178
dlorenc merged 1 commit intoGoogleContainerTools:masterfrom
dlorenc:tar

Conversation

@dlorenc
Copy link
Contributor

@dlorenc dlorenc commented May 14, 2018

Ref #144

}

if opts.TarPath != "" {
return tarball.Write(opts.TarPath, destRef, sourceImage, nil)
Copy link
Contributor

Choose a reason for hiding this comment

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

This was changed to WriteToFile in a more recent commit, could you update the dependencies and this line?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good catch. Just merged in another PR that updated the dep, and redid this.

Copy link
Contributor

@nkubala nkubala left a comment

Choose a reason for hiding this comment

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

LGTM. The test that's failing is a bug in container-structure-test that will be fixed by GoogleContainerTools/container-structure-test#137

@dlorenc dlorenc merged commit 347d835 into GoogleContainerTools:master May 15, 2018
@dlorenc dlorenc deleted the tar branch May 15, 2018 22:32
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.

2 participants