Skip to content
Snippets Groups Projects
Commit 8811b86c authored by Casey Kuhlman's avatar Casey Kuhlman
Browse files

version bump and build updates

parent 0582932d
No related branches found
No related tags found
No related merge requests found
...@@ -19,8 +19,8 @@ cd $repo ...@@ -19,8 +19,8 @@ cd $repo
if [ "$branch" = "master" ]; then if [ "$branch" = "master" ]; then
docker build -t $image_base:latest -f DOCKER/Dockerfile . docker build -t $image_base:latest -f DOCKER/Dockerfile .
docker tag -f $image_base:latest $image_base:$release_maj docker tag $image_base:latest $image_base:$release_maj
docker tag -f $image_base:latest $image_base:$release_min docker tag $image_base:latest $image_base:$release_min
else else
docker build -t $image_base:$release_min -f DOCKER/Dockerfile . docker build -t $image_base:$release_min -f DOCKER/Dockerfile .
fi fi
......
...@@ -17,6 +17,7 @@ dependencies: ...@@ -17,6 +17,7 @@ dependencies:
- sudo service docker start - sudo service docker start
- "sudo apt-get update && sudo apt-get install -y libgmp3-dev" - "sudo apt-get update && sudo apt-get install -y libgmp3-dev"
- sudo curl -sSL -o /usr/bin/docker-machine https://github.com/docker/machine/releases/download/v${DOCKER_MACHINE_VERSION}/docker-machine_linux-amd64; sudo chmod 0755 /usr/bin/docker-machine - sudo curl -sSL -o /usr/bin/docker-machine https://github.com/docker/machine/releases/download/v${DOCKER_MACHINE_VERSION}/docker-machine_linux-amd64; sudo chmod 0755 /usr/bin/docker-machine
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS quay.io
- "cd ./cmd/erisdb && go get -d && go build" - "cd ./cmd/erisdb && go get -d && go build"
- "mv ~/eris-db/cmd/erisdb/erisdb ~/bin" - "mv ~/eris-db/cmd/erisdb/erisdb ~/bin"
- chmod +x ~/bin/erisdb - chmod +x ~/bin/erisdb
...@@ -29,12 +30,10 @@ deployment: ...@@ -29,12 +30,10 @@ deployment:
master: master:
branch: master branch: master
commands: commands:
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS quay.io
- DOCKER/build.sh - DOCKER/build.sh
- docker push quay.io/eris/erisdb - docker push quay.io/eris/erisdb
develop: develop:
branch: develop branch: develop
commands: commands:
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS quay.io
- DOCKER/build.sh - DOCKER/build.sh
- docker push quay.io/eris/erisdb - docker push quay.io/eris/erisdb
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment