Skip to content
This repository has been archived by the owner on Jul 2, 2020. It is now read-only.

Commit

Permalink
updated image tagging
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexei Ledenev committed Jan 26, 2016
1 parent 08762a3 commit 69ce324
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@ dependencies:
override:
- docker build -f distribution/release/nodejs/Dockerfile -t gaiaadm/result-processing .
- docker build -f distribution/release/python/Dockerfile -t gaiaadm/result-processing:latest-python .
- docker tag gaiaadm/result-processing gaiaadm/result-processing:$CIRCLE_BUILD_NUM
- docker tag gaiaadm/result-processing:latest-python gaiaadm/result-processing:$CIRCLE_BUILD_NUM-python
- docker tag gaiaadm/result-processing gaiaadm/result-processing:$CIRCLE_BUILD_NUM-$CIRCLE_BRANCH
- docker tag gaiaadm/result-processing gaiaadm/result-processing:$CIRCLE_BRANCH
- docker tag gaiaadm/result-processing:latest-python gaiaadm/result-processing:$CIRCLE_BUILD_NUM-$CIRCLE_BRANCH-python
- docker tag gaiaadm/result-processing:latest-python gaiaadm/result-processing:$CIRCLE_BRANCH-python
test:
override:
- docker run -d --name rabbitmq gaiaadm/rabbitmq; sleep 10
Expand All @@ -33,13 +35,12 @@ test:
- docker cp system-test-runner-python:/src/system-test-results.xml $CIRCLE_TEST_REPORTS/python
- docker cp system-test-runner-python:/src/system-test-results.txt $CIRCLE_ARTIFACTS/python
deployment:
hub:
continuous:
branch: master
commands:
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
- docker push gaiaadm/result-processing
- docker push gaiaadm/result-processing:latest-python
- docker push gaiaadm/result-processing:$CIRCLE_BUILD_NUM-python
general:
branches:
only:
Expand Down

0 comments on commit 69ce324

Please sign in to comment.