35 lines
703 B
YAML
35 lines
703 B
YAML
|
kind: pipeline
|
||
|
name: default
|
||
|
|
||
|
steps:
|
||
|
|
||
|
# stable site
|
||
|
- name: docker_stable
|
||
|
image: plugins/docker
|
||
|
settings:
|
||
|
repo: docker.data.coop/data-coop-phanpy
|
||
|
registry: docker.data.coop
|
||
|
username:
|
||
|
from_secret: DOCKER_USERNAME
|
||
|
password:
|
||
|
from_secret: DOCKER_PASSWORD
|
||
|
tags:
|
||
|
- "${DRONE_BUILD_NUMBER}"
|
||
|
- "stable"
|
||
|
when:
|
||
|
branch:
|
||
|
- main
|
||
|
event:
|
||
|
exclude:
|
||
|
- pull_request
|
||
|
|
||
|
- name: notify
|
||
|
image: plugins/matrix
|
||
|
settings:
|
||
|
homeserver: https://data.coop
|
||
|
roomid: plKSghHbepWeUEtbHE:data.coop
|
||
|
username:
|
||
|
from_secret: matrix_username
|
||
|
password:
|
||
|
from_secret: matrix_password
|