This commit is contained in:
parent
3003022737
commit
0cebffd20e
@ -14,7 +14,7 @@ steps:
|
|||||||
DOCKER_PASSWORD:
|
DOCKER_PASSWORD:
|
||||||
from_secret: DOCKER_PASSWORD
|
from_secret: DOCKER_PASSWORD
|
||||||
commands:
|
commands:
|
||||||
- sleep 5
|
- sleep 15
|
||||||
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
|
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
|
||||||
- docker build -t="$DRONE_REPO:$DRONE_BUILD_NUMBER" . && docker push "$DRONE_REPO:$DRONE_BUILD_NUMBER"
|
- docker build -t="$DRONE_REPO:$DRONE_BUILD_NUMBER" . && docker push "$DRONE_REPO:$DRONE_BUILD_NUMBER"
|
||||||
- docker build -t="$DRONE_REPO" . && docker push "$DRONE_REPO"
|
- docker build -t="$DRONE_REPO" . && docker push "$DRONE_REPO"
|
||||||
|
Loading…
Reference in New Issue
Block a user