This commit is contained in:
parent
44330a5c67
commit
e8a8a9411e
@ -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/simulator" .
|
- docker build -t="$DOCKER_USERNAME/producer" .
|
||||||
- docker build -t="$DOCKER_USERNAME/simulator:$DRONE_BUILD_NUMBER" .
|
- docker build -t="$DOCKER_USERNAME/producer:$DRONE_BUILD_NUMBER" .
|
||||||
- docker push "$DOCKER_USERNAME/simulator"
|
- docker push "$DOCKER_USERNAME/producer"
|
||||||
- docker push "$DOCKER_USERNAME/simulator:$DRONE_BUILD_NUMBER"
|
- docker push "$DOCKER_USERNAME/producer:$DRONE_BUILD_NUMBER"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
- name: docker
|
- name: docker
|
||||||
|
Reference in New Issue
Block a user