mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-22 20:31:13 +00:00
Adding drone docker deploy.
This commit is contained in:
parent
73ca6ac0a5
commit
33134ba17e
1 changed files with 6 additions and 9 deletions
15
.drone.yml
15
.drone.yml
|
@ -64,19 +64,16 @@ steps:
|
||||||
- git submodule init
|
- git submodule init
|
||||||
- git submodule update --recursive --remote
|
- git submodule update --recursive --remote
|
||||||
|
|
||||||
- name: create docker tags
|
- name: make release build and push to docker hub
|
||||||
image: node:14-alpine
|
|
||||||
commands:
|
|
||||||
- echo "$(git describe),latest" > .tags
|
|
||||||
when:
|
|
||||||
ref:
|
|
||||||
- refs/tags/*
|
|
||||||
|
|
||||||
- name: try to make a build
|
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
settings:
|
settings:
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
repo: dessalines/lemmy-ui
|
repo: dessalines/lemmy-ui
|
||||||
|
auto_tag: true
|
||||||
|
username:
|
||||||
|
from_secret: docker_username
|
||||||
|
password:
|
||||||
|
from_secret: docker_password
|
||||||
when:
|
when:
|
||||||
ref:
|
ref:
|
||||||
- refs/tags/*
|
- refs/tags/*
|
||||||
|
|
Loading…
Reference in a new issue