Publish a Docker image for release v1.0.0 #9
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |