Cloud build hooks examples#180
Merged
Merged
Conversation
pchico83
reviewed
Oct 13, 2016
|
|
||
| To override these phases, create a folder called `hooks` in your source code | ||
| repository at the same directory level as your Dockerfile. Create a file called | ||
| `hooks/build`, `hooks/test`, or `hooks/push` and include commands that the |
There was a problem hiding this comment.
I would commend about pre/post hooks too.
Contributor
Author
There was a problem hiding this comment.
Those are in a separate section below, but I can also try to link to the stuff below so they definitely see it.
pchico83
reviewed
Oct 13, 2016
| ``` | ||
|
|
||
| > **Caution**: A `hooks/build` file overrides the basic `docker build` command | ||
| used by the builder, so you must include a similar build command in the hook the |
There was a problem hiding this comment.
"in the hook the automated" --> missing "or"?
Contributor
Author
There was a problem hiding this comment.
Good catch, thank you!
Signed-off-by: LRubin <lrubin@docker.com>
ce05ef7 to
25d65e7
Compare
pchico83
approved these changes
Oct 17, 2016
joaofnfernandes
pushed a commit
to joaofnfernandes/docker.github.io
that referenced
this pull request
Aug 16, 2017
joaofnfernandes
pushed a commit
to joaofnfernandes/docker.github.io
that referenced
this pull request
Aug 16, 2017
JimGalasyn
pushed a commit
that referenced
this pull request
Aug 16, 2017
shin-
pushed a commit
to shin-/docker.github.io
that referenced
this pull request
Aug 19, 2017
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add build hooks examples for Issue #115
cc @pchico83 for review
Signed-off-by: LRubin lrubin@docker.com