Compare commits

...

2 Commits

Author SHA1 Message Date
decentral1se cd85c83fd3
Notify on failure
continuous-integration/drone/push Build is passing Details
2021-06-05 07:31:07 +02:00
decentral1se f77c975b4c
Don't pull 2021-06-05 07:30:01 +02:00
2 changed files with 17 additions and 2 deletions

View File

@ -8,7 +8,8 @@ steps:
- apt update
- apt install -y shellcheck
- shellcheck plugin.sh
- name: docker push
- name: publish image
image: plugins/docker
settings:
username:
@ -17,6 +18,21 @@ steps:
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

View File

@ -4,7 +4,6 @@ build:
@cd ~/.abra/src && \
make push && \
cd - && \
docker pull decentral1se/abra && \
docker build -t decentral1se/drone-abra .
push: build