fix envvar names
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Torma Kristóf 2022-01-31 21:59:51 +01:00
parent c2d8156446
commit 55848fee4e

View File

@ -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 .