Commit Graph

268 Commits

Author SHA1 Message Date
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
schklom
8ffef34853
Build when deb/* changes (#97)
The build calls to Protonmail's repo and builds from it. When that repo
changes (i.e. when deb/* changes), the image should be built again.

---------

Co-authored-by: Simon Ungar Felding <45149055+simonfelding@users.noreply.github.com>
2025-02-17 13:03:56 +01:00
simonfelding
2745c6eb57
deb build: make sure it has the necessary tools (#116) 2025-02-17 10:15:22 +01:00
simonfelding
d00645ffcc
add vaulteditor and fix build on arm (#114)
first working build for a long time
2025-02-15 19:38:15 +01:00
simonfelding
a19458f703
fix builds by switching base layer to debian:sid-slim
tested locally, works fine.
debian has supported riscv64 in the sid image for some time.

this is the same thing the carlosedp/golang image did.

this also fixes the bug with the wrong glibc version, as the build
container now uses the same glibc version as the final container.
2025-02-15 17:07:15 +01:00
GitHub Actions
d2828adae6 Bump build version to 3.17.0 2025-02-14 00:17:18 +00:00
GitHub Actions
3d628a35e3 Bump deb version to 3.16.0-1 2025-02-14 00:17:17 +00:00
GitHub Actions
718ccfacc2 Bump build version to 3.20.12 2025-02-13 00:17:18 +00:00