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