Compare commits

..

6 commits

Author SHA1 Message Date
f
99947137cc
Merge branch 'antifascista' of ssh://gitea.nulo.in:420/Sutty/containers-skel into antifascista
All checks were successful
ci/woodpecker/push/woodpecker/1 Pipeline was successful
ci/woodpecker/push/woodpecker/2 Pipeline was successful
ci/woodpecker/push/woodpecker/3 Pipeline was successful
ci/woodpecker/push/woodpecker/4 Pipeline was successful
2024-10-29 11:56:59 -03:00
f
0e8b6ac71a
fix: move docker password to plugin config
https://github.com/woodpecker-ci/woodpecker/issues/4140#issuecomment-2369019247
2024-10-23 10:35:32 -03:00
f
fc1a12e592
fix: upgrade alpines 2024-09-14 17:25:35 -03:00
f
248c527c58
Merge branch 'antifascista' of ssh://gitea.nulo.in:420/Sutty/containers-skel into antifascista 2024-09-14 17:23:53 -03:00
f
056f73fc8f
feat: monitor certificate 2024-09-14 17:23:10 -03:00
f
000ac53f39
feat: upgrades
https://alpinelinux.org/posts/Alpine-3.17.9-3.18.8-3.19.3-released.html

https://alpinelinux.org/posts/Alpine-3.20.2-released.html
2024-07-23 10:18:44 -03:00
2 changed files with 15 additions and 6 deletions

View file

@ -12,18 +12,18 @@ steps:
- "ALPINE_VERSION=${ALPINE_VERSION}" - "ALPINE_VERSION=${ALPINE_VERSION}"
- "POSTFIX_VERSION=${POSTFIX_VERSION}" - "POSTFIX_VERSION=${POSTFIX_VERSION}"
- "BASE_IMAGE=gitea.nulo.in/sutty/monit" - "BASE_IMAGE=gitea.nulo.in/sutty/monit"
secrets: password:
- "DOCKER_PASSWORD" from_secret: "DOCKER_PASSWORD"
when: when:
branch: "antifascista" branch: "antifascista"
event: "push" event: "push"
matrix: matrix:
include: include:
- ALPINE_VERSION: "3.20.1" - ALPINE_VERSION: "3.20.3"
POSTFIX_VERSION: "3.9.0" POSTFIX_VERSION: "3.9.0"
- ALPINE_VERSION: "3.19.2" - ALPINE_VERSION: "3.19.4"
POSTFIX_VERSION: "3.8.6" POSTFIX_VERSION: "3.8.6"
- ALPINE_VERSION: "3.18.7" - ALPINE_VERSION: "3.18.9"
POSTFIX_VERSION: "3.8.6" POSTFIX_VERSION: "3.8.6"
- ALPINE_VERSION: "3.17.8" - ALPINE_VERSION: "3.17.10"
POSTFIX_VERSION: "3.7.11" POSTFIX_VERSION: "3.7.11"

View file

@ -22,6 +22,15 @@ case $1 in
test -n "${NETWORKS}" && postconf -e mynetworks="${NETWORKS}" test -n "${NETWORKS}" && postconf -e mynetworks="${NETWORKS}"
if ! test -f /etc/monit.d/cert.conf ; then
cat >/etc/monit.d/cert.conf <<MONIT
check file certificate with path /etc/letsencrypt/live/${SUTTY}/fullchain.pem
if does not exist then alert
if changed checksum then exec "/usr/sbin/postfix reload"
MONIT
monit reload
fi
;; ;;
stop) ;; stop) ;;
esac esac