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
3c512b1635
commit
2654667962
26
.drone.yml
26
.drone.yml
@ -12,19 +12,13 @@ steps:
|
|||||||
- npm run build
|
- npm run build
|
||||||
|
|
||||||
- name: docker-build
|
- name: docker-build
|
||||||
image: docker
|
image: plugins/docker
|
||||||
volumes:
|
dockerfile: ./docker/Dockerfile
|
||||||
- source: /var/run/docker.sock
|
pull: never
|
||||||
target: /var/run/docker.sock
|
settings:
|
||||||
privileged: true
|
repo: code.anufrij.de/webplay/client
|
||||||
commands:
|
tags: latest
|
||||||
- docker build -t code.anufrij.de/webplay/client:latest ./docker
|
username:
|
||||||
|
from_secret: username
|
||||||
- name: docker-test
|
password:
|
||||||
image: docker
|
from_secret: password
|
||||||
commands:
|
|
||||||
- docker run code.anufrij.de/webplay/client:latest npm test
|
|
||||||
|
|
||||||
- name: docker-publish
|
|
||||||
image: docker
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user