Skip to content

Commit

Permalink
Bump version to 1.8.3 (#60)
Browse files Browse the repository at this point in the history
Fixes #58
  • Loading branch information
parisk committed May 11, 2024
2 parents 2b75f80 + a51bee0 commit 1da5a56
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
pull_request:

env:
POETRY_VERSION: 1.8.2
POETRY_VERSION: 1.8.3
GHCR_IMAGE_REPOSITORY: ghcr.io/${{ github.repository_owner }}/poetry
PLATFORMS: linux/amd64,linux/arm64/v8

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
types: [published]

env:
POETRY_VERSION: 1.8.2
POETRY_VERSION: 1.8.3
GHCR_IMAGE_REPOSITORY: ghcr.io/${{ github.repository_owner }}/poetry

jobs:
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ ARG PIP_VERSION=22.2.2
ARG SETUPTOOLS_VERSION=65.3.0
RUN pip install --upgrade pip==${PIP_VERSION} setuptools==${SETUPTOOLS_VERSION}

ARG POETRY_VERSION=1.8.2
ARG POETRY_VERSION=1.8.3
ENV POETRY_HOME=/opt/poetry\
PATH="${PATH}:/opt/poetry/bin"
RUN python3 -m venv ${POETRY_HOME} &&\
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Docker Poetry is a Docker image for Python projects with dependencies managed by Poetry.

![Poetry](https://img.shields.io/badge/Poetry-1.8.2-purple) ![Python](https://img.shields.io/badge/Python-3.12%20(default)%20%7C%203.11%20%7C%203.10%20%7C%203.9%20%7C%203.8-blue) ![Variants](https://img.shields.io/badge/Variants-Bookworm%20(default)%20%7C%20Slim-orange
![Poetry](https://img.shields.io/badge/Poetry-1.8.3-purple) ![Python](https://img.shields.io/badge/Python-3.12%20(default)%20%7C%203.11%20%7C%203.10%20%7C%203.9%20%7C%203.8-blue) ![Variants](https://img.shields.io/badge/Variants-Bookworm%20(default)%20%7C%20Slim-orange
)

## Why
Expand All @@ -25,17 +25,17 @@ This will use the default Python version (latest) and image variant (Bookworm).

### Examples

- Poetry 1.8.2: `ghcr.io/withlogicco/poetry:1.8.2`
- Poetry 1.8.2 on Python 3.12: `ghcr.io/withlogicco/poetry:1.8.2-python-3.12`
- Poetry 1.8.2 on Bookworm: `ghcr.io/withlogicco/poetry:1.8.2-bookworm`
- Poetry 1.8.2 on Python 3.12 and Bookworm: `ghcr.io/withlogicco/poetry:1.8.2-python-3.12-bookworm`
- Poetry 1.8.3: `ghcr.io/withlogicco/poetry:1.8.3`
- Poetry 1.8.3 on Python 3.12: `ghcr.io/withlogicco/poetry:1.8.3-python-3.12`
- Poetry 1.8.3 on Bookworm: `ghcr.io/withlogicco/poetry:1.8.3-bookworm`
- Poetry 1.8.3 on Python 3.12 and Bookworm: `ghcr.io/withlogicco/poetry:1.8.3-python-3.12-bookworm`

## Usage

First, pick the image tag you wish to use. Then, copy your `pyproject.toml` and `poetry.lock` files in the working directory (`/usr/src/app`), for optimal caching and run `poetry install`. Example:

```dockerfile
FROM ghcr.io/withlogicco/poetry:1.8.2
FROM ghcr.io/withlogicco/poetry:1.8.3

COPY pyproject.toml poetry.lock ./
RUN poetry install
Expand Down

0 comments on commit 1da5a56

Please sign in to comment.