-
-
Notifications
You must be signed in to change notification settings - Fork 1
41 lines (36 loc) · 1.2 KB
/
image-build.yml
File metadata and controls
41 lines (36 loc) · 1.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: Gunicorn 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: '10 0 * * *'
jobs:
Uvicorn-Builder:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python_versions: ["3.10", "3.11", "3.12", "3.13", "3.14"]
package_versions: ["0.43.0", "0.44.0", "0.45.0", "0.46.0", "0.47.0"]
target_base: ["full", "slim"]
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: "Create and Push Image"
uses: multi-py/action-python-image-builder@v1
timeout-minutes: 45
with:
package: "uvicorn[standard]"
package_latest_version: "0.47.0"
maintainer: "Robert Hafner <tedivm@tedivm.com>"
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 }}/"