Skip to content
This repository has been archived by the owner on Aug 30, 2022. It is now read-only.

Commit

Permalink
Push all branches built docker builds to dockerhub
Browse files Browse the repository at this point in the history
  • Loading branch information
mrsimpson committed Jul 4, 2019
1 parent 270c931 commit b69fed9
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,10 +146,14 @@ jobs:
echo "pushed assistify/smarti:develop"
else
if [[ ${CIRCLE_BRANCH} == master ]]
then
docker tag redlinkgmbh/smarti:${SMARTI_VERSION} assistify/smarti:latest
docker push assistify/smarti:latest
echo "pushed assistify/smarti:latest"
then
docker tag redlinkgmbh/smarti:${SMARTI_VERSION} assistify/smarti:latest
docker push assistify/smarti:latest
echo "pushed assistify/smarti:latest"
else
docker tag redlinkgmbh/smarti:${SMARTI_VERSION} assistify/smarti:${SMARTI_VERSION}
docker push assistify/smarti:${SMARTI_VERSION}
echo "pushed assistify/smarti:${SMARTI_VERSION}"
fi
fi
fi
Expand Down

0 comments on commit b69fed9

Please sign in to comment.