hatecomputers.club/.drone.yml

30 lines
565 B
YAML

---
kind: pipeline
type: docker
name: build and publish docker image
steps:
- name: docker
image: plugins/docker
settings:
username:
from_secret: gitea_packpub_username
password:
from_secret: gitea_packpub_password
registry: git.hatecomputers.club
repo: git.hatecomputers.club/hatecomputers/hatecomputers.club
tags:
- latest
- main
- name: continuous deployment
image: alpine:latest
commands:
- apk add -y openssh
- sh deploy.sh
environment:
SSH_KEY:
from_secret: SSH_KEY
trigger:
branch:
- main