use docker registry

This commit is contained in:
Philipp Rothmann 2021-12-20 16:56:39 +01:00
parent 2153d496a7
commit e5cad98829
2 changed files with 16 additions and 2 deletions

View file

@ -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

View file

@ -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: