8000 Add more secure Docker login, fix wrong push tag · BioComputing/twilio-python@511c90e · GitHub
[go: up one dir, main page]

Skip to content

Commit 511c90e

Browse files
author
Jonatas Baldin
committed
Add more secure Docker login, fix wrong push tag
1 parent 5083640 commit 511c90e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,6 @@ docker-build:
5353
docker tag twilio/twilio-python twilio/twilio-python:apidefs-${API_DEFINITIONS_SHA}
5454

5555
docker-push:
56-
docker login -u ${DOCKER_USERNAME} -p ${DOCKER_PASSWORD}
56+
echo ${DOCKER_PASSWORD} | docker login -u ${DOCKER_USERNAME} --password-stdin
5757
docker push twilio/twilio-python:${TRAVIS_TAG}
58-
docker push twilio/twilio-python:apidefs-${API_DEFINITIONS_TAG}
58+
docker push twilio/twilio-python:apidefs-${API_DEFINITIONS_SHA}

0 commit comments

Comments
 (0)
0