This commit is contained in:
parent
5a68ec1aba
commit
497244b7a2
@ -21,6 +21,7 @@ steps:
|
|||||||
DOCKER_PASSWORD:
|
DOCKER_PASSWORD:
|
||||||
from_secret: DOCKER_PASSWORD
|
from_secret: DOCKER_PASSWORD
|
||||||
commands:
|
commands:
|
||||||
|
- dockerd &
|
||||||
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin registry.kmlabz.com
|
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin registry.kmlabz.com
|
||||||
- docker build -t="registry.kmlabz.com/$DRONE_REPO:$DRONE_BUILD_NUMBER" . && docker push "registry.kmlabz.com/$DRONE_REPO:$DRONE_BUILD_NUMBER"
|
- docker build -t="registry.kmlabz.com/$DRONE_REPO:$DRONE_BUILD_NUMBER" . && docker push "registry.kmlabz.com/$DRONE_REPO:$DRONE_BUILD_NUMBER"
|
||||||
- docker build -t="registry.kmlabz.com/$DRONE_REPO" . && docker push "registry.kmlabz.com/$DRONE_REPO"
|
- docker build -t="registry.kmlabz.com/$DRONE_REPO" . && docker push "registry.kmlabz.com/$DRONE_REPO"
|
||||||
|
Loading…
Reference in New Issue
Block a user