CI: fixing login
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
zvon 2023-08-25 13:48:54 +02:00
parent 4ca5bf450d
commit ca302ed6e3

View File

@ -9,6 +9,11 @@ platform:
steps:
- name: build
image: docker
environment:
DOCKER_USERNAME:
from_secret: DOCKER_USERNAME
DOCKER_PASSWORD:
from_secret: DOCKER_PASSWORD
commands:
- echo "$DOCKER_USERNAME"
- echo "$DOCKER_PASSWORD" | docker login "docker.zvon.tech" --username "$DOCKER_USERNAME" --password-stdin
- docker login "docker.zvon.tech" --username "$DOCKER_USERNAME" --password "$DOCKER_PASSWORD"