added docker image. Updated readme

This commit is contained in:
Eddy Hintze 2024-08-04 16:49:41 -04:00
parent 33d78c163e
commit 69393443ff
5 changed files with 13 additions and 3 deletions

View File

@ -38,7 +38,6 @@ build_image:
- docker:dind
only:
- main
- update
script:
- export VERSION=$(grep -m 1 version pyproject.toml | tr -s ' ' | tr -d '"' | tr -d "'" | cut -d' ' -f3)
- export LATEST_IMAGE_TAG=ghcr.io/${GH_REGISTRY_USER}/humblebundle-downloader:latest

View File

@ -4,6 +4,7 @@
## 0.4.2
- Added public docker image
- New version just to make sure the updated ci/cd pipeline is working, no code changes in this release
## 0.4.1

View File

@ -6,6 +6,6 @@ WORKDIR /app
COPY . .
RUN poetry config virtualenvs.create false && poetry install --no-dev
RUN poetry config virtualenvs.create false && poetry install --only main
ENTRYPOINT ["hbd"]

View File

@ -22,9 +22,18 @@ After that it will only download the content that has been updated or is missing
## Install
### Using PIP
`pip install humblebundle-downloader`
### Using docker
Remember to mount your download directory in the container using dockers `-v` argument.
`docker run ghcr.io/xtream1101/humblebundle-downloader -h`
## Instructions
@ -48,6 +57,7 @@ This can be done by getting a browser extension that lets you see or export your
Use the following command to download your Humble Bundle Library:
`hbd --cookie-file cookies.txt --library-path "Downloaded Library" --progress`
_If using the docker image, exclude the `hbd` part of the command_
This directory structure will be used:
`Downloaded Library/Purchase Name/Item Name/downloaded_file.ext`

View File

@ -1,6 +1,6 @@
[tool.poetry]
name = "humblebundle-downloader"
version = "0.4.1"
version = "0.4.2"
description = "Download your Humble Bundle library"
authors = ["Eddy Hintze <eddy@gitx.codes>"]
license = "MIT"