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

This commit is contained in:
Artem Anufrij 2023-02-13 23:33:22 +01:00
parent 89ba3d240d
commit 59a21c38bc

View File

@ -13,25 +13,22 @@ steps:
- name: docker-build
image: docker
privileged: true
volumes:
- source: /var/run/docker.sock
target: /var/run/docker.sock
commands:
- docker build -t code.anufrij.de/webplay/client:latest ./docker
- name: docker-test
image: docker
privileged: true
commands:
- docker run code.anufrij.de/webplay/client:latest npm test
- name: docker-publish
image: docker
privileged: true
volumes:
- name: docker-socket
- name: docker-socket
host:
path: /var/run/docker.sock