hatecomputers.club/.drone.yml

30 lines
617 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: fedora:latest
commands:
- yum install --assumeyes openssh
- sh deploy.sh
environment:
SSH_KEY:
from_secret: cd_ssh_key
trigger:
branch:
- main