drone-abra/.drone.yml
decentral1se cd85c83fd3
All checks were successful
continuous-integration/drone/push Build is passing
Notify on failure
2021-06-05 07:31:07 +02:00

39 lines
842 B
YAML

---
kind: pipeline
name: deploy to hub.docker.com
steps:
- name: run shellcheck
image: debian:buster
commands:
- apt update
- apt install -y shellcheck
- shellcheck plugin.sh
- name: publish image
image: plugins/docker
settings:
username:
from_secret: docker_reg_username
password:
from_secret: docker_reg_passwd
repo: decentral1se/drone-abra
tags: latest
- name: notify on failure
image: plugins/matrix
settings:
homeserver: https://matrix.autonomic.zone
roomid: "IFazIpLtxiScqbHqoa:autonomic.zone"
userid: "@autono-bot:autonomic.zone"
accesstoken:
from_secret: autono_bot_access_token
depends_on:
- run shellcheck
- publish image
when:
status:
- failure
trigger:
branch:
- main