@@ -14,17 +14,18 @@ jobs:
1414 if : github.actor != 'dependabot[bot]'
1515 runs-on : ubuntu-latest
1616 outputs :
17- python-template- docker-tag : ${{ steps.python-template- docker-tag.outputs.python-template- docker-tag }}
17+ docker-tag : ${{ steps.docker-tag.outputs.docker-tag }}
1818 env :
19- PYTHON_APP_ENVIRONMENT : Development
19+ PYTHON_APP_ENVIRONMENT : development
2020 steps :
2121 - name : Checkout repository
2222 uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2323
2424 - name : Install uv
25- uses : astral-sh/setup-uv@557e51de59eb14aaaba2ed9621916900a91d50c6 # v6.6.1
25+ uses : astral-sh/setup-uv@3259c6206f993105e3a61b142c2d97bf4b9ef83d # v7.1.0
2626 with :
27- version : 0.9.0
27+ version-file : pyproject.toml
28+ resolution-strategy : lowest
2829
2930 - name : Install Python
3031 uses : actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
@@ -52,36 +53,36 @@ jobs:
5253 uses : docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
5354
5455 - name : Set docker tag
55- id : python-template- docker-tag
56- run : echo "python-template- docker-tag=myregistry/python-template:${{ github.event.pull_request.head.sha }}" >> $GITHUB_OUTPUT
56+ id : docker-tag
57+ run : echo "docker-tag=myregistry/python-template:${{ github.event.pull_request.head.sha }}" >> $GITHUB_OUTPUT
5758
5859 - name : Build and push
5960 uses : docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0
6061 with :
6162 file : src/python_template/api/Dockerfile
62- tags : ${{ steps.python-template- docker-tag.outputs.python-template- docker-tag }}
63+ tags : ${{ steps.docker-tag.outputs.docker-tag }}
6364 push : false
6465
6566 deploy-dev :
6667 needs : continuous-integration
6768 uses : ./.github/workflows/_deploy.yaml
6869 with :
6970 environment : dev
70- docker_tag : ${{ needs.continuous-integration.outputs.python-template- docker-tag }}
71+ docker_tag : ${{ needs.continuous-integration.outputs.docker-tag }}
7172 secrets : inherit
7273
7374 deploy-stg :
7475 needs : [continuous-integration, deploy-dev]
7576 uses : ./.github/workflows/_deploy.yaml
7677 with :
7778 environment : stg
78- docker_tag : ${{ needs.continuous-integration.outputs.python-template- docker-tag }}
79+ docker_tag : ${{ needs.continuous-integration.outputs.docker-tag }}
7980 secrets : inherit
8081
8182 deploy-pro :
8283 needs : [continuous-integration, deploy-stg]
8384 uses : ./.github/workflows/_deploy.yaml
8485 with :
8586 environment : pro
86- docker_tag : ${{ needs.continuous-integration.outputs.python-template- docker-tag }}
87+ docker_tag : ${{ needs.continuous-integration.outputs.docker-tag }}
8788 secrets : inherit
0 commit comments