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

This commit is contained in:
Artem Anufrij 2023-02-14 00:02:10 +01:00
parent 3c512b1635
commit 2654667962

View File

@ -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