This commit is contained in:
parent
9c046b63d9
commit
c7c7971253
@ -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/consumer" .
|
- docker build -t="$DOCKER_USERNAME/consumer_api" .
|
||||||
- docker build -t="$DOCKER_USERNAME/consumer:$DRONE_BUILD_NUMBER" .
|
- docker build -t="$DOCKER_USERNAME/consumer_api:$DRONE_BUILD_NUMBER" .
|
||||||
- docker push "$DOCKER_USERNAME/consumer"
|
- docker push "$DOCKER_USERNAME/consumer_api"
|
||||||
- docker push "$DOCKER_USERNAME/consumer:$DRONE_BUILD_NUMBER"
|
- docker push "$DOCKER_USERNAME/consumer_api:$DRONE_BUILD_NUMBER"
|
||||||
|
|
||||||
- name: slack
|
- name: slack
|
||||||
image: plugins/slack
|
image: plugins/slack
|
||||||
|
Reference in New Issue
Block a user