1
0
forked from zv0n/lunch-go

CI: fixing login

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: steps:
- name: build - name: build
image: docker image: docker
environment:
DOCKER_USERNAME:
from_secret: DOCKER_USERNAME
DOCKER_PASSWORD:
from_secret: DOCKER_PASSWORD
commands: commands:
- echo "$DOCKER_USERNAME" - 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"