This commit is contained in:
parent
c2d8156446
commit
55848fee4e
@ -15,11 +15,11 @@ steps:
|
||||
from_secret: DOCKER_PASSWORD
|
||||
DOCKERHUB_USERNAME:
|
||||
from_secret: DOCKERHUB_USER
|
||||
DOCKERHUBPASSWORD:
|
||||
DOCKERHUB_PASSWORD:
|
||||
from_secret: DOCKERHUB_PASSWORD
|
||||
commands:
|
||||
- echo "$DOCKER_PASSWORD" | docker login --username "$DOCKER_USERNAME" --password-stdin registry.kmlabz.com
|
||||
- docker login --username "$DOCKERHUB_USERNAME" -p "$DOCKERHUB_PASSWORD"
|
||||
- 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:$DRONE_BUILD_NUMBER .
|
||||
- docker build -t $DRONE_REPO .
|
||||
|
Loading…
Reference in New Issue
Block a user