Skip to content

Commit 770d38a

Browse files
authored
removed workflow step for publishing python 3.8 images (#297)
* removed workflow step for publishing python 3.8 images * Update README.md
1 parent e679392 commit 770d38a

File tree

2 files changed

+4
-64
lines changed

2 files changed

+4
-64
lines changed

.github/workflows/docker-publish.yml

Lines changed: 0 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -331,65 +331,3 @@ jobs:
331331
push: true
332332
tags: ${{ steps.prep.outputs.tags }}
333333
labels: org.opencontainers.image.version=${{ steps.prep.outputs.version }}
334-
335-
python-3-8:
336-
runs-on: ubuntu-latest
337-
338-
steps:
339-
- name: Checkout
340-
uses: actions/checkout@v5
341-
with:
342-
ref: "3.8"
343-
344-
- name: Prepare
345-
id: prep
346-
run: |
347-
PYTHON_VERSION=3.8
348-
DOCKERHUB_IMAGE=cicirello/pyaction
349-
GHCR_IMAGE=ghcr.io/cicirello/pyaction
350-
VERSION=${{ github.event.inputs.GHCLI }}
351-
MINOR=${VERSION%.*}
352-
MAJOR=${VERSION%%.*}
353-
TAGS="${DOCKERHUB_IMAGE}:${PYTHON_VERSION},${DOCKERHUB_IMAGE}:${PYTHON_VERSION}-gh-${MAJOR}"
354-
TAGS="${TAGS},${DOCKERHUB_IMAGE}:${PYTHON_VERSION}-gh-${MINOR}"
355-
TAGS="${TAGS},${DOCKERHUB_IMAGE}:${PYTHON_VERSION}-gh-${VERSION}"
356-
TAGS="${TAGS},${GHCR_IMAGE}:${PYTHON_VERSION},${GHCR_IMAGE}:${PYTHON_VERSION}-gh-${MAJOR}"
357-
TAGS="${TAGS},${GHCR_IMAGE}:${PYTHON_VERSION}-gh-${MINOR}"
358-
TAGS="${TAGS},${GHCR_IMAGE}:${PYTHON_VERSION}-gh-${VERSION}"
359-
echo "tags=${TAGS}" >> $GITHUB_OUTPUT
360-
echo "version=${VERSION}" >> $GITHUB_OUTPUT
361-
echo "dockerhub_image=${DOCKERHUB_IMAGE}" >> $GITHUB_OUTPUT
362-
echo "ghcr_image=${GHCR_IMAGE}" >> $GITHUB_OUTPUT
363-
364-
- name: Set up QEMU
365-
uses: docker/setup-qemu-action@v3
366-
with:
367-
platforms: all
368-
369-
- name: Set up Docker Buildx
370-
id: buildx
371-
uses: docker/setup-buildx-action@v3
372-
373-
- name: Login to DockerHub
374-
uses: docker/login-action@v3
375-
with:
376-
username: ${{ secrets.DOCKER_USERNAME }}
377-
password: ${{ secrets.DOCKER_PASSWORD }}
378-
379-
- name: Login to Github Container Registry
380-
uses: docker/login-action@v3
381-
with:
382-
registry: ghcr.io
383-
username: ${{ github.repository_owner }}
384-
password: ${{ secrets.GITHUB_TOKEN }}
385-
386-
- name: Build and push
387-
uses: docker/build-push-action@v6
388-
with:
389-
builder: ${{ steps.buildx.outputs.name }}
390-
context: .
391-
file: ./Dockerfile
392-
platforms: linux/amd64,linux/arm64,linux/386,linux/arm/v7,linux/arm/v6
393-
push: true
394-
tags: ${{ steps.prep.outputs.tags }}
395-
labels: org.opencontainers.image.version=${{ steps.prep.outputs.version }}

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,11 @@ of GitHub CLI (e.g., 2.75.0), all of the following tags are available and equiva
5959
`latest`, `3.13.5`, `3.13`, `3.13.5-gh-2.75.0`, `3.13.5-gh-2.75`, `3.13.5-gh-2`,
6060
`3.13-gh-2.75.0`, `3.13-gh-2.75`, `3.13-gh-2`.
6161

62-
For prior versions of Python (3.8, 3.9, 3.10, 3.11, 3.12) and current version of
62+
For prior versions of Python (e.g., 3.12) and current version of
6363
GitHub CLI (2.75.0), all of the following tags are available and equivalent:
64-
`3.12`, `3.12-gh-2.75.0`, `3.12-gh-2.75`, `3.12-gh-2`.
64+
`3.12`, `3.12-gh-2.75.0`, `3.12-gh-2.75`, `3.12-gh-2`. Note that we only build
65+
new images for Python versions that are still supported, and not for any that
66+
have reached end-of-life. See the official [Status of Python Versions](https://devguide.python.org/versions/).
6567

6668
This tag scheme began with version 2.75.0 of the GitHub CLI. We don't support pyaction
6769
images with earlier versions of the GitHub CLI.

0 commit comments

Comments
 (0)