This commit is contained in:
parent
8249fbe8d3
commit
05bc10c428
@ -25,10 +25,10 @@ steps:
|
|||||||
from_secret: DOCKER_PASSWORD
|
from_secret: DOCKER_PASSWORD
|
||||||
commands:
|
commands:
|
||||||
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
|
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
|
||||||
- docker build -t="$DOCKER_USERNAME/producer" .
|
- docker build -t="$DOCKER_USERNAME/producer-endpoint" .
|
||||||
- docker build -t="$DOCKER_USERNAME/producer:$DRONE_BUILD_NUMBER" .
|
- docker build -t="$DOCKER_USERNAME/producer-endpoint:$DRONE_BUILD_NUMBER" .
|
||||||
- docker push "$DOCKER_USERNAME/producer"
|
- docker push "$DOCKER_USERNAME/producer-endpoint"
|
||||||
- docker push "$DOCKER_USERNAME/producer:$DRONE_BUILD_NUMBER"
|
- docker push "$DOCKER_USERNAME/producer-endpoint:$DRONE_BUILD_NUMBER"
|
||||||
|
|
||||||
- name: make_docs
|
- name: make_docs
|
||||||
image: python:3.8
|
image: python:3.8
|
||||||
|
Reference in New Issue
Block a user