Adding drone docker deploy.

This commit is contained in:
Dessalines 2021-01-13 09:30:41 -05:00
parent 73ca6ac0a5
commit 33134ba17e

View file

@ -64,19 +64,16 @@ steps:
- git submodule init
- git submodule update --recursive --remote
- name: create docker tags
image: node:14-alpine
commands:
- echo "$(git describe),latest" > .tags
when:
ref:
- refs/tags/*
- name: try to make a build
- name: make release build and push to docker hub
image: plugins/docker
settings:
dockerfile: Dockerfile
repo: dessalines/lemmy-ui
auto_tag: true
username:
from_secret: docker_username
password:
from_secret: docker_password
when:
ref:
- refs/tags/*