Compare commits

...

6 Commits

Author SHA1 Message Date
Gitea Bot d223629418 Update ProtonMail Bridge to v3.25.0 2026-06-11 03:00:52 +00:00
Gitea Bot dd393bd0e4 Update ProtonMail Bridge to v3.24.2 2026-04-30 03:00:54 +00:00
GitHub Actions b0a5c8b943 Merge branch 'main' of git.yiprawr.dev:Docker/protonmail-bridge
Build and Push Docker Container / build-and-push (push) Successful in 4m53s
Check and Autoupdate for ProtonMail Bridge / check-update (push) Successful in 19s
2026-03-24 09:49:18 +01:00
GitHub Actions 69522d6e48 add to manually run build and push docker container 2026-03-24 09:48:56 +01:00
Gitea Bot b574a11eba Update ProtonMail Bridge to v3.23.1 2026-03-24 08:45:52 +00:00
GitHub Actions 49e4d6c536 add generate new tls host cert
Build and Push Docker Container / build-and-push (push) Successful in 5m37s
Check and Autoupdate for ProtonMail Bridge / check-update (push) Successful in 17s
2026-03-11 16:12:46 +01:00
6 changed files with 26 additions and 2 deletions
+2 -1
View File
@@ -3,6 +3,7 @@ on:
push: push:
branches: branches:
- main - main
workflow_dispatch:
jobs: jobs:
build-and-push: build-and-push:
@@ -32,7 +33,7 @@ jobs:
- name: Build and push Docker image - name: Build and push Docker image
uses: docker/build-push-action@v7 uses: docker/build-push-action@v7
with: with:
context: ./build context: .
push: true push: true
tags: | tags: |
${{ vars.DOCKER_REGISTRY_URL }}/${{ env.REPO_OWNER_LC }}/protonmail-bridge:latest ${{ vars.DOCKER_REGISTRY_URL }}/${{ env.REPO_OWNER_LC }}/protonmail-bridge:latest
+1
View File
@@ -32,6 +32,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
# Copy bash scripts # Copy bash scripts
COPY gpgparams entrypoint.sh /protonmail/ COPY gpgparams entrypoint.sh /protonmail/
COPY scripts/generate_new_certs.sh /root/generate_new_certs.sh
WORKDIR /protonmail/ WORKDIR /protonmail/
# Copy protonmail # Copy protonmail
+1 -1
View File
@@ -1 +1 @@
v3.22.0 v3.25.0
View File
+22
View File
@@ -0,0 +1,22 @@
#!/bin/sh
if [ -z "$1" ]; then
echo "Please add the hostname of the Docker Container Name where the Container Should Create a Cert for"
echo "like: $0 protonmail-bridge"
exit 1
fi
# 1. choose the hostname(s) you will actually type into your mail client
HOSTS="$1,localhost,127.0.0.1"
# 2. build the openssl SAN string automatically
SAN=$(echo "$HOSTS" | tr ',' '\n' \
| sed -e 's/^[0-9.]*$/IP:&/' -e 's/^[^0-9.]*$/DNS:&/' \
| paste -sd,)
# 3. generate key + cert in one shot
openssl req -newkey rsa:2048 -nodes -keyout key.pem -x509 -days 3650 \
-out cert.pem -subj '/CN=protonmail-bridge' \
-addext "subjectAltName=$SAN"
# 4. quick sanity-check
openssl x509 -in cert.pem -text -noout | grep -A1 "Subject Alternative"