push to docker hub
This commit is contained in:
parent
dc8b297376
commit
b9a0180eaa
@ -15,10 +15,15 @@ steps:
|
|||||||
from_secret: DOCKER_PASSWORD
|
from_secret: DOCKER_PASSWORD
|
||||||
commands:
|
commands:
|
||||||
- echo "$DOCKER_PASSWORD" | docker login --username "$DOCKER_USERNAME" --password-stdin registry.kmlabz.com
|
- echo "$DOCKER_PASSWORD" | docker login --username "$DOCKER_USERNAME" --password-stdin registry.kmlabz.com
|
||||||
|
- echo "$DOCKERHUB_PASSWORD" | docker login --username "$DOCKERHUB_USERNAME" --password-stdin
|
||||||
- docker build -t registry.kmlabz.com/$DRONE_REPO .
|
- docker build -t registry.kmlabz.com/$DRONE_REPO .
|
||||||
- docker build -t registry.kmlabz.com/$DRONE_REPO:$DRONE_BUILD_NUMBER .
|
- docker build -t registry.kmlabz.com/$DRONE_REPO:$DRONE_BUILD_NUMBER .
|
||||||
|
- docker build -t $DRONE_REPO .
|
||||||
|
- docker build -t $DRONE_REPO:$DRONE_BUILD_NUMBER .
|
||||||
- docker push registry.kmlabz.com/$DRONE_REPO
|
- docker push registry.kmlabz.com/$DRONE_REPO
|
||||||
- docker push registry.kmlabz.com/$DRONE_REPO:$DRONE_BUILD_NUMBER
|
- docker push registry.kmlabz.com/$DRONE_REPO:$DRONE_BUILD_NUMBER
|
||||||
|
- docker push $DRONE_REPO
|
||||||
|
- docker push $DRONE_REPO:$DRONE_BUILD_NUMBER
|
||||||
|
|
||||||
- name: ms-teams
|
- name: ms-teams
|
||||||
image: kuperiu/drone-teams
|
image: kuperiu/drone-teams
|
||||||
|
Loading…
Reference in New Issue
Block a user