use docker registry
This commit is contained in:
parent
2153d496a7
commit
e5cad98829
2 changed files with 16 additions and 2 deletions
16
.drone.yml
16
.drone.yml
|
@ -1,7 +1,17 @@
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
name: deploy to local-it.org
|
name: deploy docs to local-it.org
|
||||||
steps:
|
steps:
|
||||||
|
- name: build and publish image
|
||||||
|
image: plugins/docker
|
||||||
|
settings:
|
||||||
|
auto_tag: true
|
||||||
|
username: yksflip
|
||||||
|
password:
|
||||||
|
from_secret: docker_registry
|
||||||
|
repo: yksflip/lit-docs
|
||||||
|
tags: latest
|
||||||
|
|
||||||
- name: deployment
|
- name: deployment
|
||||||
image: decentral1se/stack-ssh-deploy:latest
|
image: decentral1se/stack-ssh-deploy:latest
|
||||||
settings:
|
settings:
|
||||||
|
@ -13,3 +23,7 @@ steps:
|
||||||
port: 22
|
port: 22
|
||||||
environment:
|
environment:
|
||||||
DOMAIN: docs.local-it.org
|
DOMAIN: docs.local-it.org
|
||||||
|
|
||||||
|
trigger:
|
||||||
|
branch:
|
||||||
|
- main
|
||||||
|
|
|
@ -3,7 +3,7 @@ version: "3.8"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
image: mydocs:latest
|
image: yksflip/lit-docs:latest
|
||||||
networks:
|
networks:
|
||||||
- proxy
|
- proxy
|
||||||
healthcheck:
|
healthcheck:
|
||||||
|
|
Loading…
Reference in a new issue