File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,15 +24,17 @@ jobs:
2424
2525 - name : Extract version
2626 id : version
27- run : echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_OUTPUT
27+ run : |
28+ echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_OUTPUT
29+ echo "REPO=${GITHUB_REPOSITORY,,}" >> $GITHUB_OUTPUT
2830
2931 - name : Build and push Docker image
3032 uses : docker/build-push-action@v5
3133 with :
3234 push : true
3335 tags : |
34- ghcr.io/${{ github.repository }}:${{ steps.version.outputs.VERSION }}
35- ghcr.io/${{ github.repository }}:latest
36+ ghcr.io/${{ steps.version.outputs.REPO }}:${{ steps.version.outputs.VERSION }}
37+ ghcr.io/${{ steps.version.outputs.REPO }}:latest
3638
3739 - name : Create GitHub Release
3840 uses : softprops/action-gh-release@v2
Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ dev = [
2828 " pytest-mock>=3.14.0" ,
2929 " ruff>=0.7.0" ,
3030 " mypy>=1.12.0" ,
31+ " types-PyYAML>=6.0" ,
3132]
3233
3334[tool .hatch .build .targets .wheel ]
Original file line number Diff line number Diff line change 22from pathlib import Path
33
44import yaml
5- from pydantic import Field
65from pydantic_settings import BaseSettings , SettingsConfigDict
76
87
You can’t perform that action at this time.
0 commit comments