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