2024-03-09 12:47:09 +01:00
|
|
|
steps:
|
|
|
|
- name: docker-build
|
2024-03-09 12:53:11 +01:00
|
|
|
image: woodpeckerci/plugin-docker-buildx
|
|
|
|
settings:
|
|
|
|
repo: codeberg.org/${CI_REPO_OWNER}/pyfedi
|
|
|
|
registry: codeberg.org
|
2024-03-09 16:55:35 +01:00
|
|
|
tags: latest
|
|
|
|
username: ${CI_REPO_OWNER}
|
2024-03-09 17:01:21 +01:00
|
|
|
password:
|
|
|
|
from_secret: cb_token
|
2024-03-16 21:34:52 +01:00
|
|
|
- name: mail
|
|
|
|
image: deblan/woodpecker-email
|
|
|
|
settings:
|
|
|
|
dsn:
|
|
|
|
from_secret: smtp_dsn
|
|
|
|
from:
|
|
|
|
address:
|
|
|
|
from_secret: smtp_from
|
|
|
|
name: "Woodpecker"
|
|
|
|
recipients:
|
|
|
|
from_secret: smtp_recipients
|
|
|
|
recipients_only: false
|
|
|
|
content:
|
|
|
|
subject: "[{{ pipeline.status }}] {{ repo.full_name }} ({{ commit.branch }} - {{ commit.sha[0:8] }}"
|
|
|
|
body: |
|
|
|
|
{{ commit.sha }}<br>
|
|
|
|
{{ pipeline.status }}<br>
|
|
|
|
{{ commit.author_email }}<br>
|
|
|
|
attachments:
|
|
|
|
- log/*
|