name: CI/CD Pipeline on: push: branches: - main tags: - "v**" jobs: job1: runs-on: ubuntu-latest steps: - uses: https://github.com/actions/checkout@v4 - uses: https://github.com/actions/setup-python@v5 with: python-version: "3.11" - run: | make venv - run: | make lint - run: | make mypy - run: | make test - run: | make test-release - name: Push to docker pypi registry. env: TWINE_USERNAME: ${{ secrets.REGISTRY_USERNAME }} TWINE_PASSWORD: ${{ secrets.REGISTRY_TOKEN }} TWINE_REPOSITORY_URL: "https://gitea.raer.me/api/packages/freyjagp/pypi" run: | venv/bin/python3 -m twine upload --verbose dist/*