10 Commits
v1 ... v1.0.1

Author SHA1 Message Date
b59c2c3ea2 Merge pull request 'fix: missing ( on line 4' (#3) from dev into master
All checks were successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/tag/build Pipeline was successful
Reviewed-on: #3
2023-03-18 15:25:09 +01:00
4d531c2af9 fix: missing (
All checks were successful
ci/woodpecker/push/build-dev Pipeline was successful
2023-03-18 15:02:27 +01:00
10459d7ae8 Merge pull request 'merge master into dev' (#2) from master into dev
Reviewed-on: #2
2023-03-18 01:55:59 +01:00
700629a8f9 Update '.woodpecker/build-dev.yml' 2023-03-18 01:55:20 +01:00
06e0833b75 Update '.woodpecker/build.yml'
[SKIP CI]
2023-03-18 01:54:50 +01:00
a478e58aa9 Update 'README.md'
All checks were successful
ci/woodpecker/push/build Pipeline was successful
2023-03-18 01:53:48 +01:00
552715382d Update 'README.md'
Some checks failed
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/cron/build Pipeline failed
2023-03-18 01:44:35 +01:00
2f61a64ef0 Update 'build/start-container.sh'
All checks were successful
ci/woodpecker/push/build-dev Pipeline was successful
ci/woodpecker/pr/build Pipeline was successful
2023-03-18 00:14:34 +01:00
0e47e74ac5 feat: add option to read variables from file
All checks were successful
ci/woodpecker/push/build-dev Pipeline was successful
2023-03-17 23:19:41 +01:00
bb96283ad5 Update 'build/start-container.sh'
All checks were successful
ci/woodpecker/push/build-dev Pipeline was successful
2023-03-17 22:38:14 +01:00
4 changed files with 10 additions and 11 deletions

View File

@@ -1,5 +1,8 @@
when:
branch: dev
event: [push, manual]
path:
include: [ '.woodpecker/build-dev.yaml', 'build/*', 'Dockerfile' ]
pipeline:
build_and_publish:
@@ -11,7 +14,3 @@ pipeline:
context: ./build
repo: vistanarvas/${CI_REPO_NAME}
tag: dev
when:
path:
include: [ '.woodpecker/build-dev.yaml', 'build/*', 'Dockerfile' ]
event: [push, manual]

View File

@@ -1,5 +1,9 @@
when:
branch: master
event: [push, tag, deployment, cron, manual]
cron: nightly
path:
include: [ '.woodpecker/build.yml', 'build/*', 'Dockerfile' ]
pipeline:
check_base:
@@ -23,8 +27,3 @@ pipeline:
context: ./build
repo: vistanarvas/${CI_REPO_NAME}
auto_tag: true
when:
path:
include: [ '.woodpecker/build.yml', 'build/*', 'Dockerfile' ]
cron: nightly
event: [push, tag, deployment, cron, manual]

View File

@@ -1,4 +1,5 @@
# msmtp
[![status-badge](https://woodpecker.narvas.tech/api/badges/vista/msmtp/status.svg)](https://woodpecker.narvas.tech/vista/msmtp)
send mail from your container
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
| 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_PORT_FILE` |
|`SMTP_FROM_FILE` |

View File

@@ -1,7 +1,7 @@
#! /usr/bin/env sh
if [ -n "${SMTP_HOST_FILE}" ]; then
SMTP_HOST=$cat ${SMTP_HOST_FILE});
SMTP_HOST=$(cat ${SMTP_HOST_FILE});
fi
if [ -n "${SMTP_PORT_FILE}" ]; then