From 2b2f06432b1121a17c167ad20a14a22e6369e9b2 Mon Sep 17 00:00:00 2001 From: Valentin Stavetski Date: Sat, 28 Apr 2018 17:49:30 +0300 Subject: [PATCH] #185 add latest label for images --- .circleci/config.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index aa647710..b1209615 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -49,6 +49,8 @@ jobs: docker build -t cybernode/cm-exchanges-connector:$CIRCLE_TAG -f ./exchanges-connector/Dockerfile ./ docker login -u $DOCKER_USER -p $DOCKER_PASS docker push cybernode/cm-exchanges-connector:$CIRCLE_TAG + docker tag cybernode/cm-exchanges-connector:$CIRCLE_TAG cybernode/cm-exchanges-connector:latest + docker push cybernode/cm-exchanges-connector:latest deploy_tickers_image: <<: *defaults @@ -62,6 +64,8 @@ jobs: docker build -t cybernode/cm-tickers:$CIRCLE_TAG -f ./tickers/Dockerfile ./ docker login -u $DOCKER_USER -p $DOCKER_PASS docker push cybernode/cm-tickers:$CIRCLE_TAG + docker tag cybernode/cm-tickers:$CIRCLE_TAG cybernode/cm-tickers:latest + docker push cybernode/cm-tickers:latest deploy_stream-api_image: <<: *defaults @@ -75,6 +79,8 @@ jobs: docker build -t cybernode/cm-stream-api:$CIRCLE_TAG -f ./stream-api/Dockerfile ./ docker login -u $DOCKER_USER -p $DOCKER_PASS docker push cybernode/cm-stream-api:$CIRCLE_TAG + docker tag cybernode/cm-stream-api:$CIRCLE_TAG cybernode/cm-stream-api:latest + docker push cybernode/cm-stream-api:latest deploy_rest-api_image: <<: *defaults @@ -88,6 +94,8 @@ jobs: docker build -t cybernode/cm-rest-api:$CIRCLE_TAG -f ./rest-api/Dockerfile ./ docker login -u $DOCKER_USER -p $DOCKER_PASS docker push cybernode/cm-rest-api:$CIRCLE_TAG + docker tag cybernode/cm-rest-api:$CIRCLE_TAG cybernode/cm-rest-api:latest + docker push cybernode/cm-rest-api:latest workflows: version: 2