hatecomputers.club/.drone.yml

30 lines
562 B
YAML
Raw Normal View History

2024-03-26 18:00:05 -04:00
---
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
2024-03-26 18:04:01 -04:00
registry: git.hatecomputers.club
2024-03-26 18:14:26 -04:00
repo: git.hatecomputers.club/hatecomputers/hatecomputers.club
2024-03-26 18:00:05 -04:00
tags:
- latest
- main
2024-04-01 19:45:02 -04:00
- name: continuous deployment
image: alpine:latest
commands:
- apk add openssh
- sh deploy.sh
environment:
SSH_KEY:
from_secret: SSH_KEY
2024-03-26 18:00:05 -04:00
trigger:
branch:
2024-03-26 18:04:01 -04:00
- main