@@ -21,7 +21,7 @@ concurrency:
2121 cancel-in-progress : false
2222
2323jobs :
24- get- config :
24+ config :
2525 name : Get Configuration
2626 runs-on : ubuntu-latest
2727 outputs :
@@ -42,14 +42,14 @@ jobs:
4242
4343 prod-containers :
4444 name : Build Production Containers
45- needs : get- config
45+ needs : config
4646 runs-on : ubuntu-latest
4747 strategy :
4848 matrix :
49- python-version : ${{ fromJSON(needs.get- config.outputs.python-versions) }}
49+ python-version : ${{ fromJSON(needs.config.outputs.python-versions) }}
5050
5151 env :
52- SCAN_LEVEL : ${{ matrix.python-version == needs.get- config.outputs.default-python-version && 'full' || 'basic' }}
52+ SCAN_LEVEL : ${{ matrix.python-version == needs.config.outputs.default-python-version && 'full' || 'basic' }}
5353 PUSH_TO_REGISTRY : true
5454
5555 permissions :
@@ -69,26 +69,26 @@ jobs:
6969 - name : Log in to Container Registry
7070 uses : docker/login-action@v3
7171 with :
72- registry : ${{ needs.get- config.outputs.container-registry }}
72+ registry : ${{ needs.config.outputs.container-registry }}
7373 username : ${{ github.actor }}
7474 password : ${{ secrets.GITHUB_TOKEN }}
7575
7676 - name : Setup Python and UV
7777 uses : ./.github/actions/setup-uv-cached
7878 with :
79- cache-key : prod-${{ needs.get- config.outputs.package-version }}-py${{ matrix.python-version }}
79+ cache-key : prod-${{ needs.config.outputs.package-version }}-py${{ matrix.python-version }}
8080 fail-on-cache-miss : false
8181
8282 - name : Build package wheel
8383 run : make build
8484
8585 - name : Build and scan container image
8686 env :
87- REGISTRY : ${{ needs.get- config.outputs.container-registry }}
88- IMAGE_NAME : ${{ needs.get- config.outputs.container-image }}
89- VERSION : ${{ needs.get- config.outputs.package-version }}
87+ REGISTRY : ${{ needs.config.outputs.container-registry }}
88+ IMAGE_NAME : ${{ needs.config.outputs.container-image }}
89+ VERSION : ${{ needs.config.outputs.package-version }}
9090 PYTHON_VERSION : ${{ matrix.python-version }}
91- DEFAULT_PYTHON : ${{ needs.get- config.outputs.default-python-version }}
91+ DEFAULT_PYTHON : ${{ needs.config.outputs.default-python-version }}
9292 run : |
9393 make container single push \
9494 REGISTRY="$REGISTRY" \
9898
9999 prod-manifests :
100100 name : Create Production Manifests
101- needs : [get- config, prod-containers]
101+ needs : [config, prod-containers]
102102 runs-on : ubuntu-latest
103103 permissions :
104104 contents : read
@@ -111,20 +111,20 @@ jobs:
111111 - name : Log in to Container Registry
112112 uses : docker/login-action@v3
113113 with :
114- registry : ${{ needs.get- config.outputs.container-registry }}
114+ registry : ${{ needs.config.outputs.container-registry }}
115115 username : ${{ github.actor }}
116116 password : ${{ secrets.GITHUB_TOKEN }}
117117
118118 - name : Create production tag manifests
119119 env :
120- REGISTRY : ${{ needs.get- config.outputs.container-registry }}
121- IMAGE : ${{ needs.get- config.outputs.container-image }}
122- VERSION : ${{ needs.get- config.outputs.package-version }}
123- DEFAULT_PYTHON : ${{ needs.get- config.outputs.default-python-version }}
120+ REGISTRY : ${{ needs.config.outputs.container-registry }}
121+ IMAGE : ${{ needs.config.outputs.container-image }}
122+ VERSION : ${{ needs.config.outputs.package-version }}
123+ DEFAULT_PYTHON : ${{ needs.config.outputs.default-python-version }}
124124 IS_RELEASE : " true"
125125 run : |
126- # Get tags from calculation script
127- eval "$(make get-container-tags)"
126+ # Get tags from Makefile target
127+ eval "$(make get-container-tags-env )"
128128
129129 # Create primary tags (latest, version)
130130 if [[ -n "$primary_tags" ]]; then
@@ -151,7 +151,7 @@ jobs:
151151
152152 prod-pypi :
153153 name : Publish to PyPI
154- needs : get- config
154+ needs : config
155155 runs-on : ubuntu-latest
156156 environment : pypi
157157 permissions :
@@ -165,7 +165,7 @@ jobs:
165165 - name : Setup Python and UV
166166 uses : ./.github/actions/setup-uv-cached
167167 with :
168- cache-key : prod-pypi-${{ needs.get- config.outputs.package-version }}
168+ cache-key : prod-pypi-${{ needs.config.outputs.package-version }}
169169 fail-on-cache-miss : false
170170
171171 - name : Build package
@@ -179,8 +179,11 @@ jobs:
179179
180180 prod-docs :
181181 name : Deploy Production Documentation
182- needs : get- config
182+ needs : config
183183 runs-on : ubuntu-latest
184+ environment :
185+ name : github-pages
186+ url : ${{ steps.deployment.outputs.page_url }}
184187 permissions :
185188 contents : read
186189 pages : write
@@ -193,7 +196,7 @@ jobs:
193196 - name : Setup Python and UV
194197 uses : ./.github/actions/setup-uv-cached
195198 with :
196- cache-key : prod-docs-${{ needs.get- config.outputs.package-version }}
199+ cache-key : prod-docs-${{ needs.config.outputs.package-version }}
197200 fail-on-cache-miss : false
198201
199202 - name : Build documentation
@@ -211,7 +214,7 @@ jobs:
211214
212215 github-assets :
213216 name : Upload GitHub Release Assets
214- needs : [get- config, prod-containers, prod-pypi]
217+ needs : [config, prod-containers, prod-pypi]
215218 runs-on : ubuntu-latest
216219 permissions :
217220 contents : write
@@ -223,7 +226,7 @@ jobs:
223226 - name : Setup Python and UV
224227 uses : ./.github/actions/setup-uv-cached
225228 with :
226- cache-key : prod-assets-${{ needs.get- config.outputs.package-version }}
229+ cache-key : prod-assets-${{ needs.config.outputs.package-version }}
227230 fail-on-cache-miss : false
228231
229232 - name : Build package
@@ -236,7 +239,7 @@ jobs:
236239 env :
237240 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
238241 run : |
239- VERSION="${{ needs.get- config.outputs.package-version }}"
242+ VERSION="${{ needs.config.outputs.package-version }}"
240243 RELEASE_TAG="v$VERSION"
241244
242245 # Upload wheel and source distribution
0 commit comments