Versionator Updating versions for python and package. #217
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: Uvicorn Image Builder | |
# Publish on new pushed, and build on Monday Morning (UTC) regardless. | |
on: | |
push: | |
branches: | |
- "main" | |
paths-ignore: | |
- "**/README.md" | |
- "templates/**" | |
schedule: | |
- cron: "4 0 * * MON" | |
jobs: | |
Uvicorn-Builder: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
python_versions: ["3.9", "3.10", "3.11", "3.12", "3.13"] | |
package_versions: ["0.30.5", "0.30.6", "0.31.0", "0.31.1", "0.32.0"] | |
target_base: ["full", "slim"] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: "Create and Push Image" | |
uses: multi-py/action-python-image-builder@v1 | |
timeout-minutes: 45 | |
with: | |
package: "uvicorn" | |
package_latest_version: "0.32.0" | |
maintainer: "Robert Hafner <[email protected]>" | |
python_version: ${{ matrix.python_versions }} | |
package_version: ${{ matrix.package_versions }} | |
target_base: ${{ matrix.target_base }} | |
registry_password: ${{ secrets.GITHUB_TOKEN }} | |
dockerfile: "${{ github.workspace }}/dockerfile" | |
docker_build_path: "${{ github.workspace }}/" |