Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
zeusbaba committed Jul 31, 2018
1 parent ac0b023 commit f8c3f6d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
14 changes: 11 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,19 @@ Getting up and running for your dev-env is as easy as counting 1 to 4 :-)
mvn clean compile
```
3. Build, containerize & push to docker repository
_nb! make sure you already have created a project at Google Cloud Platform, then set `docker.image.prefix` inside `pom.xml`_
3. Build, containerize & push to docker repository
- Build and push a container image for your application to a container registry.
_nb! make sure you already have created a project at Google Cloud Platform, then set `docker.image.prefix` inside `pom.xml`_
```
```
mvn clean compile jib:build -e
```
If you encounter authentication issues, see [Authentication Methods](https://github.com/GoogleContainerTools/jib/tree/master/jib-maven-plugin#authentication-methods).
To build to a Docker daemon, use:
```
mvn clean compile jib:dockerBuild -e
```
...
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
FIXME: make sure you already have created a project at Google Cloud Platform
e.g. my dev-project is: gcr.io/catpet-205415
-->
<docker.image.prefix>gcr.io/my-GCP-project</docker.image.prefix>
<docker.image.prefix>gcr.io/my-gcp-project</docker.image.prefix>

<!-- keep dependency versions organized -->
<versions.jib_maven_plugin>0.9.7</versions.jib_maven_plugin>
Expand Down

0 comments on commit f8c3f6d

Please sign in to comment.