Compare commits
10 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| b59c2c3ea2 | |||
| 4d531c2af9 | |||
| 10459d7ae8 | |||
| 700629a8f9 | |||
| 06e0833b75 | |||
| a478e58aa9 | |||
| 552715382d | |||
| 2f61a64ef0 | |||
| 0e47e74ac5 | |||
| bb96283ad5 |
@@ -1,5 +1,8 @@
|
|||||||
when:
|
when:
|
||||||
branch: dev
|
branch: dev
|
||||||
|
event: [push, manual]
|
||||||
|
path:
|
||||||
|
include: [ '.woodpecker/build-dev.yaml', 'build/*', 'Dockerfile' ]
|
||||||
|
|
||||||
pipeline:
|
pipeline:
|
||||||
build_and_publish:
|
build_and_publish:
|
||||||
@@ -11,7 +14,3 @@ pipeline:
|
|||||||
context: ./build
|
context: ./build
|
||||||
repo: vistanarvas/${CI_REPO_NAME}
|
repo: vistanarvas/${CI_REPO_NAME}
|
||||||
tag: dev
|
tag: dev
|
||||||
when:
|
|
||||||
path:
|
|
||||||
include: [ '.woodpecker/build-dev.yaml', 'build/*', 'Dockerfile' ]
|
|
||||||
event: [push, manual]
|
|
||||||
|
|||||||
@@ -1,5 +1,9 @@
|
|||||||
when:
|
when:
|
||||||
branch: master
|
branch: master
|
||||||
|
event: [push, tag, deployment, cron, manual]
|
||||||
|
cron: nightly
|
||||||
|
path:
|
||||||
|
include: [ '.woodpecker/build.yml', 'build/*', 'Dockerfile' ]
|
||||||
|
|
||||||
pipeline:
|
pipeline:
|
||||||
check_base:
|
check_base:
|
||||||
@@ -23,8 +27,3 @@ pipeline:
|
|||||||
context: ./build
|
context: ./build
|
||||||
repo: vistanarvas/${CI_REPO_NAME}
|
repo: vistanarvas/${CI_REPO_NAME}
|
||||||
auto_tag: true
|
auto_tag: true
|
||||||
when:
|
|
||||||
path:
|
|
||||||
include: [ '.woodpecker/build.yml', 'build/*', 'Dockerfile' ]
|
|
||||||
cron: nightly
|
|
||||||
event: [push, tag, deployment, cron, manual]
|
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
# msmtp
|
# msmtp
|
||||||
|
[](https://woodpecker.narvas.tech/vista/msmtp)
|
||||||
|
|
||||||
send mail from your container
|
send mail from your container
|
||||||
this image is intended to be used in a CI piple
|
this image is intended to be used in a CI piple
|
||||||
@@ -28,7 +29,7 @@ using this way other proccesses could provide the email content
|
|||||||
all of these are optinal but when uses the overwrite the counterpart variable
|
all of these are optinal but when uses the overwrite the counterpart variable
|
||||||
| Variable Name | Description |
|
| Variable Name | Description |
|
||||||
|--------------------|-------------|
|
|--------------------|-------------|
|
||||||
|`MSMTP_CONFIG_FILE` | This is the config file msmtp uses<br>this replaces the need for most other Environment variables<br>When you use this only `EMAIL` or `TO_ADDRESSES`, `SUBJECT`, `MESSAGE` are requered<br>to see what the file sould contain have a look at the [Documentation](https://marlam.de/msmtp/msmtp.html#Configuration-files) or a [Example](https://marlam.de/msmtp/msmtprc.txt)
|
|`MSMTP_CONFIG_FILE` | This is the config file msmtp uses<br>this replaces the need for most other Environment variables<br>When you use this only `EMAIL` or `TO_ADDRESSES`, `SUBJECT`, `MESSAGE` are requered<br>to see what the file sould contain have a look at the [Documentation](https://marlam.de/msmtp/msmtp.html#Configuration-files) or a [Example](https://marlam.de/msmtp/msmtprc.txt)<br>the file **MUST** have [permissions](https://linuxcommand.org/lc3_lts0090.php) set to 600
|
||||||
|`SMTP_HOST_FILE` |
|
|`SMTP_HOST_FILE` |
|
||||||
|`SMTP_PORT_FILE` |
|
|`SMTP_PORT_FILE` |
|
||||||
|`SMTP_FROM_FILE` |
|
|`SMTP_FROM_FILE` |
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#! /usr/bin/env sh
|
#! /usr/bin/env sh
|
||||||
|
|
||||||
if [ -n "${SMTP_HOST_FILE}" ]; then
|
if [ -n "${SMTP_HOST_FILE}" ]; then
|
||||||
SMTP_HOST=$cat ${SMTP_HOST_FILE});
|
SMTP_HOST=$(cat ${SMTP_HOST_FILE});
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -n "${SMTP_PORT_FILE}" ]; then
|
if [ -n "${SMTP_PORT_FILE}" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user