Add .drone.yml
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Reynir Björnsson 2022-07-23 10:54:15 +02:00
parent f43f6276dd
commit 0f8d6960df
1 changed files with 32 additions and 0 deletions

32
.drone.yml Normal file
View File

@ -0,0 +1,32 @@
kind: pipeline
name: default
steps:
- name: docker
image: plugins/docker
settings:
repo: docker.data.coop/unipi
registry: docker.data.coop
username:
from_secret: DOCKER_USERNAME
password:
from_secret: DOCKER_PASSWORD
tags:
- "${DRONE_BUILD_NUMBER}"
- "latest"
when:
branch:
- master
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