Skip to content

Commit

Permalink
Add instruction to update docker-compose.yml when releasing new versi…
Browse files Browse the repository at this point in the history
  • Loading branch information
longquanzheng authored Dec 18, 2017
1 parent 4550c4e commit 26303d5
Showing 1 changed file with 19 additions and 0 deletions.
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 *
```

0 comments on commit 26303d5

Please sign in to comment.