Commit Graph

275 Commits

Author SHA1 Message Date
Dan C Williams
656e5556c6 Fix healthcheck by adding procps to runtime dependencies
The HEALTHCHECK uses pgrep to monitor the proton-bridge process, but
procps (which provides pgrep) was not installed in the runtime image.
This caused the container to remain permanently unhealthy.

Fixes #14
2026-02-27 06:54:24 -06:00
Dan C Williams
fa5ddaa530
Merge pull request #13 from dancwilliams/renovate/dancwilliams-protonmail-bridge-latest
Update dancwilliams/protonmail-bridge:latest Docker digest to a3f1b0c
2026-02-26 22:08:58 -06:00
renovate[bot]
8c9cd28f3a
Update dancwilliams/protonmail-bridge:latest Docker digest to a3f1b0c 2026-02-27 04:06:26 +00:00
Dan C Williams
d08eb649e6
Merge pull request #12 from dancwilliams/fix/multi-arch-base-image-digests
Fix InvalidBaseImagePlatform warnings by using multi-arch manifest li…
2026-02-26 16:28:52 -06:00
Dan C Williams
fa6545f794 Fix InvalidBaseImagePlatform warnings by using multi-arch manifest list digests
Replace platform-specific amd64 digests for debian:sid-slim and
debian:bookworm-slim with multi-arch manifest list digests so Buildx
can resolve the correct platform image when building for riscv64.
2026-02-26 16:10:50 -06:00
Dan C Williams
3c9c26abae
Merge pull request #10 from dancwilliams/renovate/dancwilliams-protonmail-bridge-latest
Update dancwilliams/protonmail-bridge:latest Docker digest to 9803beb
2026-02-26 15:47:06 -06:00
renovate[bot]
5722cf785d
Update dancwilliams/protonmail-bridge:latest Docker digest to 9803beb 2026-02-26 21:42:44 +00:00
Dan C Williams
85c161acd3
Merge pull request #11 from dancwilliams/renovate/major-github-artifact-actions
Update GitHub Artifact Actions (major)
2026-02-26 15:42:17 -06:00
renovate[bot]
57111317a7
Update GitHub Artifact Actions 2026-02-26 20:48:43 +00:00
Dan C Williams
e62645dc01
Merge pull request #9 from dancwilliams/renovate/github-codeql-action-4.x
Update github/codeql-action action to v4
2026-02-26 12:31:33 -06:00
renovate[bot]
671d7aea65
Update github/codeql-action action to v4 2026-02-26 18:27:54 +00:00
Dan C Williams
babe253905
Merge pull request #8 from dancwilliams/renovate/major-github-artifact-actions
Update GitHub Artifact Actions (major)
2026-02-26 12:26:49 -06:00
renovate[bot]
bcbc49b724
Update GitHub Artifact Actions 2026-02-26 18:23:37 +00:00
Dan C Williams
5ae5f3e768
Merge pull request #4 from dancwilliams/renovate/aquasecurity-trivy-action-0.x
Update aquasecurity/trivy-action action to v0.34.1
2026-02-26 12:21:14 -06:00
renovate[bot]
eb95754338
Update aquasecurity/trivy-action action to v0.34.1 2026-02-26 18:15:50 +00:00
Dan C Williams
54c4162d04
Merge pull request #7 from dancwilliams/renovate/actions-checkout-6.x
Update actions/checkout action to v6
2026-02-26 12:14:44 -06:00
Dan C Williams
0c568bc45a
Merge pull request #3 from dancwilliams/renovate/pin-dependencies
Pin dancwilliams/protonmail-bridge Docker tag to 004c1b0
2026-02-26 12:04:56 -06:00
Dan C Williams
f69e22f2ae
Merge pull request #6 from dancwilliams/renovate/migrate-config
Migrate Renovate config
2026-02-26 12:04:13 -06:00
renovate[bot]
32eb851fc4
Update actions/checkout action to v6 2026-02-26 18:03:23 +00:00
Dan C Williams
8cec76db7f Fix invalid Docker tag for PRs with slashes in ref name
github.ref_name returns '4/merge' for PR events, which is invalid in
a Docker tag. Sanitize using the head ref (branch name) with slashes
replaced by dashes.
2026-02-26 12:02:54 -06:00
renovate[bot]
b8bfaed9e6
Migrate config renovate.json 2026-02-26 18:00:01 +00:00
renovate[bot]
2f2e7c958b
Pin dancwilliams/protonmail-bridge Docker tag to 004c1b0 2026-02-26 17:54:30 +00:00
Dan C Williams
82bd9081c8 Pin base image digests and add Renovate for automated updates
Renovate will open PRs automatically when debian:bookworm-slim or
debian:sid-slim receive updates (e.g. security patches), keeping the
container current without relying solely on scheduled rebuilds.
2026-02-26 11:53:35 -06:00
Dan C Williams
160d10da37 Remove FUNDING.yml 2026-02-26 11:53:27 -06:00
Dan Williams
ea0219f51c Add migration guide to README
Documents the upgrade path and breaking changes introduced in recent
releases: arm/v7 removal, tag format change (drop -build suffix), and
the auto-updater being permanently disabled.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-25 08:42:11 -06:00
Dan Williams
fc06d10a64 Use native arm64 runner; raise riscv64 timeout to 90m
CGO compilation (especially mattn/go-sqlite3) is silent and very slow
under QEMU emulation. Switch arm64/v8 to GitHub's native ubuntu-24.04-arm
runner to eliminate QEMU overhead entirely. Keep riscv64 on ubuntu-latest
(no native runner available) but raise the job timeout to 90m to give
QEMU-emulated CGO compilation enough room to finish. Also add 30m timeout
to the test job.
2026-02-25 06:41:14 -06:00
Dan Williams
f0b5e083ff Fix build hangs: add apt-get network timeout and job timeout
apt-get has no default network timeout, so an unresponsive Debian mirror
can block a build stage indefinitely. Add Acquire::http::Timeout=30 to
both update and install calls in all apt-get invocations so mirror hangs
fail fast rather than running until GitHub's 6-hour job limit.

Also add timeout-minutes: 60 to the build job so a runaway step fails
within an hour rather than silently consuming the full 6-hour default.
2026-02-25 06:29:20 -06:00
Dan Williams
506ff0e66f Fix ARG scoping: declare RUNTIME_IMAGE before first FROM 2026-02-24 21:21:41 -06:00
Dan Williams
e769e2bbb0 Fix riscv64 runtime: use sid-slim on riscv64, bookworm-slim elsewhere
debian:bookworm-slim has no riscv64 image. Parameterize the runtime
base via RUNTIME_IMAGE build-arg; the workflow passes sid-slim for
riscv64 and bookworm-slim for all other platforms.
2026-02-24 21:16:50 -06:00
Dan Williams
fcebd8a198 Stabilize runtime image, add PR-based version gating, drop arm/v7
Dockerfile:
- Keep build stage on debian:sid-slim (required for riscv64 Go support)
- Switch runtime stage to debian:bookworm-slim for stable, predictable
  package names — eliminates the libcbor0 class of breakage for users

update-check.py:
- Create a branch and open a PR instead of pushing directly to master
- PR body links to upstream release notes and prompts review of new
  dependencies before merge
- Remove dead deb/PACKAGE code

build.yaml:
- Drop linux/arm/v7 — upstream go-libfido2 is incompatible with 32-bit
  ARM address space as of v3.22.0; not fixable without upstream changes
- Add VERSION to pull_request trigger paths so the test job builds
  and validates every version bump PR before it can be merged

update-check.yaml:
- Pass GITHUB_TOKEN and GITHUB_REPOSITORY to script for PR creation

README.md:
- Document arm/v7 as unsupported with reason
2026-02-24 21:11:29 -06:00
Dan Williams
152ddbc05b Fix runtime deps: drop explicit libcbor0, libfido2-1 pulls it transitively 2026-02-24 20:36:42 -06:00
Dan Williams
f9cdac79fe Fix build job condition to also run on workflow_dispatch 2026-02-24 20:32:08 -06:00
Dan Williams
8c5061f641 Update docs to reflect community fork and recent changes
- Rewrite README: update all refs from shenxn to dancwilliams, remove deb
  build references, document what changed from upstream, simplify tags
  section, update all docker run and compose commands, add architecture
  table, add version update automation section, add credits
- Update SECURITY.md: replace shenxn contact with dancwilliams GitHub
  issue reporting, clarify scope (container vs bridge itself)
- Update docker-compose.yml: point to dancwilliams/protonmail-bridge,
  remove deprecated version key
2026-02-24 20:17:41 -06:00
Dan Williams
5ad6fa81e3 Fix v3.22.0 build, improve stability, and set up for community maintenance
- Add libfido2-dev, libcbor-dev to build deps; libfido2-1, libcbor0 to runtime (fixes #135)
- Make bridge binaries read-only to block built-in auto-updater at runtime
- Add HEALTHCHECK to Dockerfile
- Fix long-uptime stdin stability: replace cat pipe with sleep infinity
- Clean up stale GPG agent sockets on container startup
- Update maintainer label
- Repoint build.yaml to dancwilliams Docker Hub and GHCR repos
- Use clean version/latest tags (drop -build suffix)
- Fix missing checkout in merge job
- Add workflow_dispatch and pip install to update-check.yaml
- Remove Gitee mirror workflow
- Remove legacy deb build (Dockerfile, workflow, and deb/ directory)
2026-02-24 20:15:39 -06:00
GitHub Actions
97014ae98c Bump version to v3.22.0
Some checks failed
build from source / test (push) Has been cancelled
build from source / build (linux/amd64) (push) Has been cancelled
build from source / build (linux/arm/v7) (push) Has been cancelled
build from source / build (linux/arm64/v8) (push) Has been cancelled
build from source / build (linux/riscv64) (push) Has been cancelled
pack from deb / deb (push) Has been cancelled
Mirroring / Mirror to Gitee (push) Has been cancelled
build from source / merge (push) Has been cancelled
update check / check (push) Has been cancelled
2026-02-10 00:32:52 +00:00
GitHub Actions
044ea2b034 Bump version to v3.21.2
Some checks failed
build from source / test (push) Has been cancelled
build from source / build (linux/amd64) (push) Has been cancelled
build from source / build (linux/arm/v7) (push) Has been cancelled
build from source / build (linux/arm64/v8) (push) Has been cancelled
build from source / build (linux/riscv64) (push) Has been cancelled
build from source / merge (push) Has been cancelled
pack from deb / deb (push) Has been cancelled
Mirroring / Mirror to Gitee (push) Has been cancelled
update check / check (push) Has been cancelled
2025-07-23 00:21:43 +00:00
GitHub Actions
b643ecf9b6 Bump version to v3.21.1 2025-06-19 00:20:36 +00:00
GitHub Actions
e788a0098e Bump version to v3.20.0 2025-05-16 00:20:00 +00:00
Simon Ungar Felding
4c7b9b9a8c fix version 2025-04-25 09:47:00 +02:00
Simon Ungar Felding
6b4a3e23a8 fix based on https://stackoverflow.com/questions/75521775/buildx-docker-image-claims-to-be-a-manifest-list 2025-04-25 00:20:40 +02:00
Simon Ungar Felding
e67c6cb97a fix push by digest 2025-04-24 23:36:08 +02:00
Simon Ungar Felding
84b7a76320 fix tags 2025-04-24 23:29:50 +02:00
Simon Ungar Felding
7e1b2d7104 fix build tags 2025-04-24 23:26:11 +02:00
Simon Ungar Felding
89d488b2fb fix build password 2025-04-24 23:11:47 +02:00
simonfelding
4ccd39856a
improve build readability and speed (by parallelization) (#117) 2025-04-24 23:03:50 +02:00
GitHub Actions
540ba69528 Bump deb version to 3.19.0-1 2025-04-02 00:18:53 +00:00
GitHub Actions
546f813ea4 Bump build version to 3.19.0 2025-03-19 00:18:37 +00:00
GitHub Actions
794e58400a Bump deb version to 3.18.0-1 2025-03-07 00:17:55 +00:00
GitHub Actions
2bd42d97ca Bump build version to 3.18.0 2025-02-28 00:17:35 +00:00
GitHub Actions
c87479ac51 Bump deb version to 3.17.0-1 2025-02-20 00:17:27 +00:00