drone-abra/.drone.yml

44 lines
965 B
YAML
Raw Permalink Normal View History

2021-06-03 17:50:14 +00:00
---
kind: pipeline
2023-01-16 01:17:29 +00:00
name: publish image
2021-06-03 17:50:14 +00:00
steps:
- name: run shellcheck
2023-01-20 08:13:17 +00:00
image: debian:bullseye
2021-06-03 17:50:14 +00:00
commands:
- apt update
- apt install -y shellcheck
- shellcheck plugin.sh
2021-06-05 05:31:07 +00:00
- name: publish image
2021-06-03 17:50:14 +00:00
image: plugins/docker
settings:
2023-10-03 21:31:43 +00:00
username: 3wordchant
2021-06-03 17:50:14 +00:00
password:
2023-10-03 21:31:43 +00:00
from_secret: git_coopcloud_tech_token_3wc
2023-10-03 21:33:55 +00:00
repo: git.coopcloud.tech/coop-cloud/drone-abra
2023-10-03 21:31:43 +00:00
tags: latest
registry: git.coopcloud.tech
2021-06-03 17:50:14 +00:00
tags: latest
2021-06-17 07:51:29 +00:00
purge: true
pull_image: true
depends_on:
- run shellcheck
2021-06-05 05:31:07 +00:00
- 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
2021-06-03 17:50:14 +00:00
trigger:
branch:
- main