Skip to content

Publish a Docker image for release v1.0.0 #9

Publish a Docker image for release v1.0.0

Publish a Docker image for release v1.0.0 #9

name: (publish) Docker image
run-name: Publish a Docker image for release ${{ github.event.release.tag_name }}
permissions:
contents: read
on:
release:
types: released
jobs:
pyversion:
name: Discover minimum Python version
uses: ./.github/workflows/_discover_python_ver.yml
docker_image_build:
name: Build and Publish Docker image
needs: pyversion
permissions:
contents: read
packages: write
uses: ./.github/workflows/_docker.yml
with:
publish: true
python_version: ${{ needs.pyversion.outputs.pyversion }}
tag_name: ${{ github.event.release.tag_name }}