Skip to content

Commit

Permalink
Add dockerhub auth
Browse files Browse the repository at this point in the history
  • Loading branch information
avirshup committed Dec 1, 2017
1 parent 422ed25 commit 926b7e1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions deployment/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ set -e

echo "Now deploying moldesign-${CI_BRANCH}"

docker login -u ${DOCKERHUB_USER} -p ${DOCKERHUB_PASSWORD}


# Copy python package out of the docker image
sdist=moldesign-${CI_BRANCH}.tar.gz
docker run -v ${PWD}/tmp/dist:/hostdists moldesign_py_build:dev cp dist/${sdist} /hostdists
Expand Down

0 comments on commit 926b7e1

Please sign in to comment.