Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add instruction to update docker-compose.yml when releasing new version #471

Merged
merged 2 commits into from
Dec 18, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,22 @@ docker run -e CASSANDRA_CONSISTENCY=Quorum \ -- Default cassandra con
-e LOG_LEVEL=debug,info \ -- Logging level
ubercadence/server:<tag>
```
Update docker-compose.yml when releasing new version
=========================
0. Creat new version tag in the repo
1. Build the new docker image and push into docker hub
```bash
docker build . -t ubercadence/server:THE.LATEST.VERSION --build-arg git_branch=vTHE.LATEST.VERSION
docker push ubercadence/server:master
```
2. Remember to update the docker-compose.yml to use latest version and check in to master
```yaml
cadence:
image: ubercadence/server:THE.LATEST.VERSION
ports
```
3. Create the tar.gz file and upload to relase page
```bash
cd github.com/uber/cadence/docker
tar -cvf docker.tar.gz *
```