Skip to content

Commit 442a98b

Browse files
authored
removed workflow step for publishing python 3.8 images
1 parent e679392 commit 442a98b

File tree

1 file changed

+0
-62
lines changed

1 file changed

+0
-62
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 }}

0 commit comments

Comments
 (0)