2015-07-14 00:13:09 +00:00
<!-- BEGIN MUNGE: UNVERSIONED_WARNING -->
2016-06-10 23:46:46 +00:00
<!-- BEGIN STRIP_FOR_RELEASE -->
2016-07-15 09:44:58 +00:00
< img src = "http://kubernetes.io/kubernetes/img/warning.png" alt = "WARNING"
2016-06-10 23:46:46 +00:00
width="25" height="25">
2016-07-15 09:44:58 +00:00
< img src = "http://kubernetes.io/kubernetes/img/warning.png" alt = "WARNING"
2016-06-10 23:46:46 +00:00
width="25" height="25">
2016-07-15 09:44:58 +00:00
< img src = "http://kubernetes.io/kubernetes/img/warning.png" alt = "WARNING"
2016-06-10 23:46:46 +00:00
width="25" height="25">
2016-07-15 09:44:58 +00:00
< img src = "http://kubernetes.io/kubernetes/img/warning.png" alt = "WARNING"
2016-06-10 23:46:46 +00:00
width="25" height="25">
2016-07-15 09:44:58 +00:00
< img src = "http://kubernetes.io/kubernetes/img/warning.png" alt = "WARNING"
2016-06-10 23:46:46 +00:00
width="25" height="25">
< h2 > PLEASE NOTE: This document applies to the HEAD of the source tree< / h2 >
If you are using a released version of Kubernetes, you should
refer to the docs that go with that version.
<!-- TAG RELEASE_LINK, added by the munger automatically -->
< strong >
The latest release of this document can be found
2016-06-13 19:24:34 +00:00
[here ](http://releases.k8s.io/release-1.3/examples/guestbook-go/_src/README.md ).
2016-06-10 23:46:46 +00:00
Documentation for other releases can be found at
[releases.k8s.io ](http://releases.k8s.io ).
< / strong >
--
<!-- END STRIP_FOR_RELEASE -->
2015-07-14 00:13:09 +00:00
<!-- END MUNGE: UNVERSIONED_WARNING -->
2015-07-17 22:35:41 +00:00
2014-09-12 17:35:02 +00:00
## Building and releasing Guestbook Image
2014-09-26 00:31:59 +00:00
This process employs building two docker images, one compiles the source and the other hosts the compiled binaries.
2014-09-12 17:35:02 +00:00
2016-03-15 08:49:50 +00:00
Releasing the image requires that you have access to the docker registry user account which will host the image. You can specify the registry including the user account by setting the environment variable `REGISTRY` .
2014-09-12 17:35:02 +00:00
To build and release the guestbook image:
2014-09-23 23:44:27 +00:00
cd examples/guestbook-go/_src
2016-03-15 08:49:50 +00:00
make release
2014-09-12 17:35:02 +00:00
2016-03-15 08:49:50 +00:00
To build and release the guestbook image with a different registry and version:
2014-09-12 17:35:02 +00:00
2016-03-15 08:49:50 +00:00
VERSION=v4 REGISTRY="docker.io/luebken" make build
2014-09-12 17:35:02 +00:00
2016-03-15 08:49:50 +00:00
If you want to, you can build and push the image step by step:
2014-09-12 17:35:02 +00:00
2016-03-15 08:49:50 +00:00
make clean
make build
make push
2015-05-14 22:12:45 +00:00
2015-07-14 00:13:09 +00:00
<!-- BEGIN MUNGE: GENERATED_ANALYTICS -->
2015-05-14 22:12:45 +00:00
[![Analytics ](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/examples/guestbook-go/_src/README.md?pixel )]()
2015-07-14 00:13:09 +00:00
<!-- END MUNGE: GENERATED_ANALYTICS -->