diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 25b5df7..7bbe80f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -49,10 +49,6 @@ jobs: needs: [semantic_release] steps: - - env: - TAG: ${{ needs.semantic_release.outputs.tag }} - run: echo "$TAG" - - name: Checkout uses: actions/checkout@v3 @@ -71,7 +67,7 @@ jobs: context: . file: ./Dockerfile push: true - tags: ${{ secrets.DOCKERHUB_USERNAME }}/training_api:$TAG + tags: ${{ secrets.DOCKERHUB_USERNAME }}/training_api:${{ needs.semantic_release.outputs.tag }} publish_package: diff --git a/pyproject.toml b/pyproject.toml index 6ea689d..aa0b716 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -25,7 +25,7 @@ mypy = "1.5.1" [tool.poetry.group.test.dependencies] httpx = "^0.24.1" pre-commit = "^3.4.0" -pytest = "7.4.0" +pytest = "^7.4.0" pytest-cov = "4.1.0" [build-system]