diff --git a/codeship-services.yml b/codeship-services.yml index 6a110cb..719f777 100644 --- a/codeship-services.yml +++ b/codeship-services.yml @@ -11,6 +11,7 @@ image_builder: &build-base publisher: <<: *build-base + cached: false encrypted_env_file: ./deployment/deploy-tokens.crypt diff --git a/deployment/publish.sh b/deployment/publish.sh index d2c40c9..6cb4db5 100755 --- a/deployment/publish.sh +++ b/deployment/publish.sh @@ -8,9 +8,11 @@ # fail immediately if any command fails: set -e +echo "Now deploying moldesign-${pyversion}" + # Copy python package out of the docker image sdist=moldesign-${pyversion}.tar.gz -docker run moldesign_py_build:dev -v ./tmp/dist:/hostdists cp dist/${sdist} /hostdists +docker run -v ${PWD}/tmp/dist:/hostdists moldesign_py_build:dev cp dist/${sdist} /hostdists # Push images to dockerhub for img in moldesign_minimal \