Commit Graph
11 Commits
Author SHA1 Message Date
CaliBrain cf3d4d9352 Use matrix build for main and tor github action (#237) 2025-08-20 09:03:42 -04:00
CaliBrain b1673904c5 fix build latest (#236)
- Fix branch tagging and use :dev for main and :latest for tagged
release
- Fix latest tag check for release
2025-08-20 08:50:51 -04:00
CaliBrain a336caf281 Fix branch tagging and use :dev for main and :latest for tagged release (#235) 2025-08-20 08:41:05 -04:00
naandCaliBrain bdc36af9a9 Add semantic versioning for the docker images (#215)
For every push of a tag, create an image with the same tag.
This was also mentioned in [Semantic versioning for the docker container
#68

](https://github.com/calibrain/calibre-web-automated-book-downloader/issues/68)

---------

Co-authored-by: CaliBrain <calibrain@l4n.xyz>
2025-08-18 11:49:10 -04:00
CaliBrain 072bd955e9 Fix git build version (#150) 2025-04-20 06:46:10 -04:00
CaliBrain 270fe7ae6b Fix tor (#145)
Add proper version in the container, and fix tor logging and
inconsistent flag
2025-04-19 01:33:58 -04:00
CaliBrain 57f15b4d95 Tor support, use SeleniumBase instead of DrissionPage (#123)
Refactor: Improve Docker build, add Tor support, use SeleniumBase

- Overhauled Dockerfile:
    - Switched to python:3.10-slim base.
    - Implemented multi-stage builds (base, standard, tor).
    - Consolidated RUN layers for efficiency.
    - Added locale/timezone setup.
- Added Tor setup and iptables configuration in dedicated stage/script.
- Replaced DrissionPage with SeleniumBase for Cloudflare bypassing.
- Added Tor support via `docker-compose.tor.yml` and `tor.sh` script.
- Updated `docker-compose.yml` to build locally and changed default port
to 8083.
- Added `docker-compose.dev.yml` and `docker-compose.tor.dev.yml`.
- Updated `entrypoint.sh` for timezone and sudo usage.
- Added/Updated environment variables (`TZ`, `USING_TOR`, etc.).
- Improved `.dockerignore`.
- Updated `readme.md` to reflect port changes, build process, document
`TZ`, and add details about the new Tor variant.
2025-04-13 02:34:39 -04:00
CaliBrainandmik593 3a92c5de78 CF BYPASS (#24)
The Calibre dependency was due to the script testing for validity of the
downloaded file, as often they would be corrupted from aa. But CWA is
already doing that, so we are just having redundant code here.

For the cloudflarebypasser, I basically run my own version now, instead
of depending on an external library, this way we have better control for
debugging and on the docker image.

Fixes #18, #33, #27, #48, #65, #78, #86, #88, #89

---------

Co-authored-by: mik593 <91991279+mik593@users.noreply.github.com>
2025-03-16 02:25:15 -04:00
Cathelijne HornstraandCathelijne Hornstra af3d2cc358 feat: add commit date tagging to Docker image workflow (#69)
This PR adds a date-based tag to the docker container.

Example: 
<img width="875" alt="Screenshot 2025-01-25 at 01 33 01"
src="https://github.com/user-attachments/assets/d3c99763-de29-4802-affa-c6fd34f8c611"
/>

Fixes #68

Co-authored-by: Cathelijne Hornstra <git@pepperlink.nl>
2025-01-24 20:49:32 -05:00
CaliBrain 7d9d92e6a0 Adding manual workflow_dispatch to GH action 2024-12-20 11:20:43 -05:00
CaliBrain 18b146af64 Innitial Release 2024-12-16 22:48:26 +00:00