name: build on: push: tags: ["*"] jobs: build: runs-on: ubuntu-latest steps: # repo - name: Check out repository uses: actions/checkout@v7 # python - name: Set up python id: setup-python uses: actions/setup-python@v7 with: python-version: "3.14" cache: "pip" # project-manager - name: Install Project Manager run: | pip install project-manager \ --index-url https://git.shmyga.ru/api/packages/InfernalGames/pypi/simple/ \ --extra-index-url https://pypi.org/simple # setup - name: Setup config run: pm setup:config -vv # build - name: Build docker run: pm build:docker -vv # login docker - name: Login to Docker Hub uses: docker/login-action@v4 with: registry: git.shmyga.ru username: ${{ vars.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} # pubish - name: Publish docker run: pm publish:docker -vv