drone docker
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
This commit is contained in:
parent
89ba3d240d
commit
59a21c38bc
11
.drone.yml
11
.drone.yml
@ -13,25 +13,22 @@ steps:
|
|||||||
|
|
||||||
- name: docker-build
|
- name: docker-build
|
||||||
image: docker
|
image: docker
|
||||||
privileged: true
|
|
||||||
volumes:
|
volumes:
|
||||||
- source: /var/run/docker.sock
|
- source: /var/run/docker.sock
|
||||||
target: /var/run/docker.sock
|
target: /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
|
||||||
|
|
||||||
|
|
||||||
- name: docker-test
|
- name: docker-test
|
||||||
image: docker
|
image: docker
|
||||||
privileged: true
|
|
||||||
commands:
|
commands:
|
||||||
- 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
|
||||||
privileged: true
|
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: docker-socket
|
- name: docker-socket
|
||||||
host:
|
host:
|
||||||
path: /var/run/docker.sock
|
path: /var/run/docker.sock
|
||||||
|
Loading…
Reference in New Issue
Block a user