Compare commits

..

3 Commits

Author SHA1 Message Date
fb206e9261 Add new env vars to readme 2024-05-12 20:21:17 +00:00
59490dae2d Add support for alerting on success or failure of renewal
Installs apprise and allows config of alerting for successful or failed renewals. Currently only supports renewals, not inital issuing. Not necessarily a problem as I'd hope you'd be watching the logs on first run.
I don't love how I create /config/.renew-list.sh. I should readdress this somehow
2024-05-12 20:18:34 +00:00
ca44fc71f4 Correct build-main branch name trigger
All checks were successful
Build Image / Validate Image (push) Successful in 29s
Build Image / Publish Image (push) Successful in 4m9s
Build Image / Notify (push) Successful in 3s
2024-05-12 11:47:56 +00:00
4 changed files with 6 additions and 6 deletions

View File

@ -2,7 +2,7 @@ name: Test Pull Request
on: on:
pull_request: pull_request:
branches: branches:
- 'master' - 'main'
- 'develop' - 'develop'
env: env:

View File

@ -1,4 +1,4 @@
FROM alpine:3.20.0 as base FROM alpine:3.19.1 as base
ARG TARGETARCH ARG TARGETARCH
FROM base AS base-amd64 FROM base AS base-amd64
@ -62,7 +62,7 @@ RUN python3 -m venv /app/certbot/ && /app/certbot/bin/pip install --upgrade pip
#Added additional pip steps to fix cython 3.0.0 issue - https://github.com/yaml/pyyaml/issues/601 #Added additional pip steps to fix cython 3.0.0 issue - https://github.com/yaml/pyyaml/issues/601
COPY requirements.txt /app/certbot/requirements.txt COPY requirements.txt /app/certbot/requirements.txt
RUN apk add --no-cache --virtual .deps gcc python3-dev libc-dev libffi-dev && \ RUN apk add --no-cache --virtual .deps gcc python3-dev libc-dev libffi-dev && \
/app/certbot/bin/pip install wheel setuptools && \ /app/certbot/bin/pip install wheel && \
/app/certbot/bin/pip install "Cython<3.0" pyyaml --no-build-isolation && \ /app/certbot/bin/pip install "Cython<3.0" pyyaml --no-build-isolation && \
/app/certbot/bin/pip install -r /app/certbot/requirements.txt && \ /app/certbot/bin/pip install -r /app/certbot/requirements.txt && \
ln -s /app/certbot/bin/certbot /usr/bin/certbot && \ ln -s /app/certbot/bin/certbot /usr/bin/certbot && \

View File

@ -1,6 +1,6 @@
{ {
"extends": [":automergeMinor", ":automergePr", ":automergeRequireAllStatusChecks", ":dependencyDashboard", ":disableRateLimiting", ":rebaseStalePrs"], "extends": [":automergeMinor", ":automergePr", ":automergeRequireAllStatusChecks", ":dependencyDashboard", ":disableRateLimiting", ":rebaseStalePrs"],
"baseBranches": ["master"], "baseBranches": ["main"],
"major": { "major": {
"dependencyDashboardApproval": true "dependencyDashboardApproval": true
}, },

View File

@ -1,5 +1,5 @@
# For pinning Python packages to then be parsed by Renovate # For pinning Python packages to then be parsed by Renovate
certbot ==2.10.0 certbot ==2.9.0
certbot-dns-cloudflare ==2.10.0 certbot-dns-cloudflare ==2.9.0
apprise ==1.8.0 apprise ==1.8.0