Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add 3.12-bullseye and 3.10-bullseye #11

Merged
merged 5 commits into from
Jul 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ jobs:

strategy:
matrix:
python_version: ["3.12-slim", "3.11-slim", "3.10-slim", "3.9-slim", "3.8-slim"]
poetry_version: ["1.8.3", "1.7.1", "1.6.1"]
python_version: ["3.12-bullseye", "3.12-slim", "3.11-slim", "3.10-bullseye", "3.10-slim", "3.9-slim", "3.8-slim"]
poetry_version: ["1.8.3", "1.7.1"]

steps:
- name: Checkout repository
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/update-versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ name: update workflow from versions
on:
push:
branches: [ "develop" ]
paths:
- versions.json
workflow_dispatch:

jobs:
Expand Down
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
# poetry-docker

![1.8.3-py3.12-slim badge](https://img.shields.io/docker/v/biggates/poetry/1.8.3-py3.12-slim?label=biggates%2Fpoetry&logo=docker) ![1.8.3-py3.11-slim badge](https://img.shields.io/docker/v/biggates/poetry/1.8.3-py3.11-slim?label=biggates%2Fpoetry&logo=docker) ![1.8.3-py3.10-slim badge](https://img.shields.io/docker/v/biggates/poetry/1.8.3-py3.10-slim?label=biggates%2Fpoetry&logo=docker) ![1.8.3-py3.9-slim badge](https://img.shields.io/docker/v/biggates/poetry/1.8.3-py3.9-slim?label=biggates%2Fpoetry&logo=docker) ![1.8.3-py3.8-slim badge](https://img.shields.io/docker/v/biggates/poetry/1.8.3-py3.8-slim?label=biggates%2Fpoetry&logo=docker) [![Docker Publish Badge](https://github.com/biggates/poetry-docker/actions/workflows/docker-publish.yml/badge.svg?branch=master)](https://github.com/biggates/poetry-docker/actions/workflows/docker-publish.yml)
[![1.8.3-py3.12-bullseye badge](https://img.shields.io/docker/v/biggates/poetry/1.8.3-py3.12-bullseye?label=biggates%2Fpoetry&logo=docker) ![1.8.3-py3.12-slim badge](https://img.shields.io/docker/v/biggates/poetry/1.8.3-py3.12-slim?label=biggates%2Fpoetry&logo=docker) ![1.8.3-py3.11-slim badge](https://img.shields.io/docker/v/biggates/poetry/1.8.3-py3.11-slim?label=biggates%2Fpoetry&logo=docker) ![1.8.3-py3.10-bullseye badge](https://img.shields.io/docker/v/biggates/poetry/1.8.3-py3.10-bullseye?label=biggates%2Fpoetry&logo=docker) ![1.8.3-py3.10-slim badge](https://img.shields.io/docker/v/biggates/poetry/1.8.3-py3.10-slim?label=biggates%2Fpoetry&logo=docker) ![1.8.3-py3.9-slim badge](https://img.shields.io/docker/v/biggates/poetry/1.8.3-py3.9-slim?label=biggates%2Fpoetry&logo=docker) ![1.8.3-py3.8-slim badge](https://img.shields.io/docker/v/biggates/poetry/1.8.3-py3.8-slim?label=biggates%2Fpoetry&logo=docker)](https://hub.docker.com/r/biggates/poetry) [![Docker Publish Badge](https://github.com/biggates/poetry-docker/actions/workflows/docker-publish.yml/badge.svg?branch=master)](https://github.com/biggates/poetry-docker/actions/workflows/docker-publish.yml)

a Docker image that includes [Poetry](https://python-poetry.org/) for CI/CD pipelines.

## Supported tags

- `1.8.3-py3.12-bullseye`
- `1.8.3-py3.12-slim`
- `1.8.3-py3.11-slim`
- `1.8.3-py3.10-bullseye`
- `1.8.3-py3.10-slim`
- `1.8.3-py3.9-slim`
- `1.8.3-py3.8-slim`
Expand All @@ -20,7 +22,7 @@ In your pipeline / actions, replace docker image from `python` to `biggates/poet

```dockerfile
# FROM python:3.10-slim
FROM biggates/poetry:1.8.2-py3.10-slim
FROM biggates/poetry:1.8.3-py3.10-slim
```

## details
Expand All @@ -37,7 +39,7 @@ A typical usage is use poetry to install all the dependencies in one stage, and

```dockerfile
# first stage
FROM biggates/poetry:1.8.2-py3.10-slim as venv-creator
FROM biggates/poetry:1.8.3-py3.10-slim as venv-creator

ENV POETRY_NO_INTERACTION=1 \
POETRY_VIRTUALENVS_IN_PROJECT=1 \
Expand Down
2 changes: 1 addition & 1 deletion scripts/generate_shield_markdown.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def _tag_to_markdown(tag):
all_images = " ".join([_tag_to_markdown(tag) for tag in all_tags])

all_markdown = (
all_images
"[" + all_images + "](https://hub.docker.com/r/biggates/poetry)"
+ " [![Docker Publish Badge](https://github.com/biggates/poetry-docker/actions/workflows/docker-publish.yml/badge.svg?branch=master)](https://github.com/biggates/poetry-docker/actions/workflows/docker-publish.yml)"
)

Expand Down
5 changes: 3 additions & 2 deletions versions.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
{
"poetry": [
"1.8.3",
"1.7.1",
"1.6.1"
"1.7.1"
],
"python": [
"3.12-bullseye",
"3.12-slim",
"3.11-slim",
"3.10-bullseye",
"3.10-slim",
"3.9-slim",
"3.8-slim"
Expand Down