Merge branch 'automation' into develop
This commit is contained in:
commit
f83d27e411
@ -75,7 +75,7 @@ jobs:
|
|||||||
|
|
||||||
"Notify":
|
"Notify":
|
||||||
runs-on: [ubuntu-docker-latest, linux/amd64]
|
runs-on: [ubuntu-docker-latest, linux/amd64]
|
||||||
needs: ["Build Image", "Validate Image"]
|
needs: ["Validate Image", "Publish Image"]
|
||||||
steps:
|
steps:
|
||||||
- name: Notify of success
|
- name: Notify of success
|
||||||
uses: rjstone/discord-webhook-notify@v1
|
uses: rjstone/discord-webhook-notify@v1
|
||||||
|
@ -75,7 +75,11 @@ jobs:
|
|||||||
|
|
||||||
"Notify":
|
"Notify":
|
||||||
runs-on: [ubuntu-docker-latest, linux/amd64]
|
runs-on: [ubuntu-docker-latest, linux/amd64]
|
||||||
|
<<<<<<< HEAD
|
||||||
needs: ["Build Image", "Validate Image"]
|
needs: ["Build Image", "Validate Image"]
|
||||||
|
=======
|
||||||
|
needs: ["Validate Image", "Publish Image"]
|
||||||
|
>>>>>>> automation
|
||||||
steps:
|
steps:
|
||||||
- name: Notify of success
|
- name: Notify of success
|
||||||
uses: rjstone/discord-webhook-notify@v1
|
uses: rjstone/discord-webhook-notify@v1
|
||||||
|
@ -1,14 +1,21 @@
|
|||||||
|
|
||||||
dist: dist-gitea
|
dist: dist-gitea
|
||||||
|
|
||||||
build:
|
builds:
|
||||||
skip: true
|
- skip: true
|
||||||
|
|
||||||
archives:
|
archives:
|
||||||
- format: binary
|
- format: binary
|
||||||
|
|
||||||
release:
|
release:
|
||||||
draft: true
|
draft: true
|
||||||
|
|
||||||
|
header: |
|
||||||
|
# Certbot Cron v{{ .Tag }}
|
||||||
|
|
||||||
|
## Docker Image:
|
||||||
|
`git.mrmeeb.stream/mrmeeb/certbot-cron:{{ .Tag }}`
|
||||||
|
|
||||||
gitea:
|
gitea:
|
||||||
owner: MrMeeb
|
owner: MrMeeb
|
||||||
name: certbot-cron-docker
|
name: certbot-cron-docker
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
FROM alpine:latest as base
|
FROM alpine:3.19.1 as base
|
||||||
ARG TARGETARCH
|
ARG TARGETARCH
|
||||||
|
|
||||||
FROM base AS base-amd64
|
FROM base AS base-amd64
|
||||||
@ -9,7 +9,7 @@ ENV S6_OVERLAY_ARCH=aarch64
|
|||||||
|
|
||||||
FROM base-${TARGETARCH}${TARGETVARIANT}
|
FROM base-${TARGETARCH}${TARGETVARIANT}
|
||||||
|
|
||||||
ARG S6_OVERLAY_VERSION=3.1.5.0
|
ARG S6_OVERLAY_VERSION="3.1.6.2"
|
||||||
|
|
||||||
# Core variables
|
# Core variables
|
||||||
ENV PUID=1000
|
ENV PUID=1000
|
||||||
@ -57,10 +57,11 @@ RUN python3 -m venv /app/certbot/ && /app/certbot/bin/pip install --upgrade pip
|
|||||||
|
|
||||||
#Get required packages for building, build, then cleanup
|
#Get required packages for building, build, then cleanup
|
||||||
#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
|
||||||
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 && \
|
/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 certbot certbot-dns-cloudflare && \
|
/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 &&\
|
||||||
apk del .deps
|
apk del .deps
|
||||||
|
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
# Certbot Cron Docker
|
# Certbot Cron Docker
|
||||||
|
|
||||||
 
|
|
||||||
|
|
||||||
Dockerised Certbot that utilises cron to schedule creating and renewing SSL certificates. Supports standalone, webroot or Cloudflare methods. Automatic renewal attempt happens every 6 hours by default.
|
Dockerised Certbot that utilises cron to schedule creating and renewing SSL certificates. Supports standalone, webroot or Cloudflare methods. Automatic renewal attempt happens every 6 hours by default.
|
||||||
|
|
||||||
## Tags
|
## Tags
|
||||||
|
28
renovate.json
Normal file
28
renovate.json
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
{
|
||||||
|
"extends": [":automergeMinor", ":automergePr", ":automergeRequireAllStatusChecks", ":dependencyDashboard", ":disableRateLimiting", ":rebaseStalePrs"],
|
||||||
|
"baseBranches": ["main"],
|
||||||
|
"major": {
|
||||||
|
"dependencyDashboardApproval": true
|
||||||
|
},
|
||||||
|
"customManagers": [
|
||||||
|
{
|
||||||
|
"customType": "regex",
|
||||||
|
"fileMatch": ["Dockerfile"],
|
||||||
|
"matchStrings": ["ARG S6_OVERLAY_VERSION=[\"](?<currentValue>.*)[\"]"],
|
||||||
|
"datasourceTemplate": "github-releases",
|
||||||
|
"depNameTemplate": "just-containers/s6-overlay"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"packageRules": [
|
||||||
|
{
|
||||||
|
"matchDatasources": ["github-releases"],
|
||||||
|
"matchDepNames": ["just-containers/s6-overlay"],
|
||||||
|
"extractVersion": "^v(?<version>.*)$",
|
||||||
|
"versioning": "loose"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"matchPackagePatterns": ["certbot"],
|
||||||
|
"groupName": "certbot"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
4
requirements.txt
Normal file
4
requirements.txt
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
# For pinning Certbot packages to then be parsed by Renovate
|
||||||
|
|
||||||
|
certbot ==2.9.0
|
||||||
|
certbot-dns-cloudflare ==2.9.0
|
Loading…
x
Reference in New Issue
Block a user