docker socket
Some checks reported errors
continuous-integration/drone/push Build encountered an error

This commit is contained in:
Artem Anufrij 2023-02-13 23:15:35 +01:00
parent fe06378898
commit a188dcf82c

View File

@ -16,7 +16,8 @@ steps:
stdin_open: true stdin_open: true
tty: true tty: true
volumes: volumes:
- /var/run/docker.sock:/var/run/docker.sock - name: docker-socket
path: /var/run/docker.sock
commands: commands:
- docker build -t code.anufrij.de/webplay/client:latest ./docker - docker build -t code.anufrij.de/webplay/client:latest ./docker
@ -27,4 +28,9 @@ steps:
- docker run code.anufrij.de/webplay/client:latest npm test - docker run code.anufrij.de/webplay/client:latest npm test
- name: docker-publish - name: docker-publish
image: docker image: docker
volumes:
- name: docker-socket
host:
path: /var/run/docker.sock