diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 5228f3d..c277f5d 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -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 diff --git a/.github/workflows/update-versions.yml b/.github/workflows/update-versions.yml index 322b282..5651092 100644 --- a/.github/workflows/update-versions.yml +++ b/.github/workflows/update-versions.yml @@ -4,6 +4,8 @@ name: update workflow from versions on: push: branches: [ "develop" ] + paths: + - versions.json workflow_dispatch: jobs: diff --git a/README.md b/README.md index 971eb0e..52390c1 100644 --- a/README.md +++ b/README.md @@ -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` @@ -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 @@ -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 \ diff --git a/scripts/generate_shield_markdown.py b/scripts/generate_shield_markdown.py index d24058c..7fe0d82 100755 --- a/scripts/generate_shield_markdown.py +++ b/scripts/generate_shield_markdown.py @@ -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)" ) diff --git a/versions.json b/versions.json index 724547a..a3a0808 100644 --- a/versions.json +++ b/versions.json @@ -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"