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
- name: docker-build
image: docker
volumes:
- source: /var/run/docker.sock
target: /var/run/docker.sock
privileged: true
commands:
- docker build -t code.anufrij.de/webplay/client:latest ./docker
- name: docker-test
image: docker
commands:
- docker run code.anufrij.de/webplay/client:latest npm test
- name: docker-publish
image: docker
image: plugins/docker
dockerfile: ./docker/Dockerfile
pull: never
settings:
repo: code.anufrij.de/webplay/client
tags: latest
username:
from_secret: username
password:
from_secret: password