Skip to content

Commit

Permalink
added env var
Browse files Browse the repository at this point in the history
  • Loading branch information
punkdata committed Feb 16, 2019
1 parent 09fda01 commit 57c4233
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ pip install --user --no-cache-dir -r requirements.txt
~/.local/bin/pyinstaller -F hello_world.py
export TAG=${GITHUB_SHA}
export IMAGE_NAME='python-cicd-workshop'
export DOCKER_LOGIN='ariv3ra'
export DOCKER_IMAGE_NAME=${DOCKER_LOGIN}/${IMAGE_NAME}
docker build -t ${DOCKER_IMAGE_NAME} -t ${DOCKER_IMAGE_NAME}:${TAG} .
echo ${DOCKER_PWD} | docker login -u ${DOCKER_LOGIN} --password-stdin
Expand Down

0 comments on commit 57c4233

Please sign in to comment.