Skip to content

Commit 63d1c1e

Browse files
authored
Merge pull request #34 from hostwithquantum/deps-poetry
chore(deps): update poetry
2 parents cca07fd + 73de3e2 commit 63d1c1e

3 files changed

Lines changed: 28 additions & 4 deletions

File tree

.github/workflows/pr.yml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,17 @@ jobs:
1515
- uses: actions/checkout@v6
1616
with:
1717
persist-credentials: false
18+
19+
- uses: docker/setup-docker-action@v5
20+
with:
21+
daemon-config: |
22+
{
23+
"debug": true,
24+
"features": {
25+
"containerd-snapshotter": true
26+
}
27+
}
28+
1829
- uses: docker/setup-buildx-action@v4
1930

2031
- uses: docker/login-action@v4
@@ -30,8 +41,12 @@ jobs:
3041

3142
- uses: docker/build-push-action@v7
3243
with:
44+
build-args: POETRY_VERSION=2.3.2
3345
context: .
3446
push: false
47+
load: true
3548
tags: ${{ steps.meta.outputs.tags }}
3649
labels: ${{ steps.meta.outputs.labels }}
37-
platforms: linux/amd64, linux/arm64
50+
platforms: linux/amd64,linux/arm64
51+
52+
- run: docker run ${DOCKER_METADATA_OUTPUT_TAGS} -V

.github/workflows/publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ jobs:
3232

3333
- uses: docker/build-push-action@v7
3434
with:
35+
build-args: POETRY_VERSION=2.3.2
3536
context: .
3637
push: true
3738
tags: ${{ steps.meta.outputs.tags }}

Dockerfile

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,18 @@
11
FROM python:3.14-slim
22

3-
LABEL org.opencontainers.image.description "Docker (base) image with Python 3.x with poetry"
4-
5-
ARG POETRY_VERSION=1.8.3
3+
ARG POETRY_VERSION=2.3.2
64
ARG POETRY_HOME=/opt/poetry
75

6+
LABEL org.opencontainers.image.title="python-poetry" \
7+
org.opencontainers.image.description="Docker (base) image with Python 3.x with poetry" \
8+
org.opencontainers.image.vendor="Planetary Quantum GmbH" \
9+
org.opencontainers.image.licenses="BSD-2-Clause" \
10+
org.opencontainers.image.source="https://github.com/hostwithquantum/python-poetry" \
11+
org.opencontainers.image.documentation="https://github.com/hostwithquantum/python-poetry#readme" \
12+
software.python.version="3.14" \
13+
software.poetry.version=${POETRY_VERSION}
14+
15+
816
# making this explicit
917
USER root
1018

0 commit comments

Comments
 (0)