string volume mount

This commit is contained in:
Torma Kristóf 2020-08-06 22:57:12 +02:00
parent 84ff3b4c05
commit ce28b94c50
Signed by: tormakris
GPG Key ID: DC83C4F2C41B1047

View File

@ -6,7 +6,7 @@ steps:
- name: docker - name: docker
image: docker image: docker
volumes: volumes:
- /var/run/docker.sock:/var/run/docker.sock - "/var/run/docker.sock:/var/run/docker.sock"
commands: commands:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin registry.kmlabz.com - echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin registry.kmlabz.com
- docker build -t registry.kmlabz.com/$DRONE_REPO . - docker build -t registry.kmlabz.com/$DRONE_REPO .