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
|
||||
name: deploy to local-it.org
|
||||
name: deploy docs to local-it.org
|
||||
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
|
||||
image: decentral1se/stack-ssh-deploy:latest
|
||||
settings:
|
||||
|
@ -13,3 +23,7 @@ steps:
|
|||
port: 22
|
||||
environment:
|
||||
DOMAIN: docs.local-it.org
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
- main
|
||||
|
|
|
@ -3,7 +3,7 @@ version: "3.8"
|
|||
|
||||
services:
|
||||
app:
|
||||
image: mydocs:latest
|
||||
image: yksflip/lit-docs:latest
|
||||
networks:
|
||||
- proxy
|
||||
healthcheck:
|
||||
|
|
Loading…
Reference in a new issue