kind: pipeline type: docker name: multibot-ci trigger: branch: - main - develop - "feature/*" event: - push - pull_request steps: - name: install-deps image: python:3.11-slim commands: - pip install --upgrade pip - pip install -r requirements.txt - name: lint image: python:3.11-slim commands: - pip install flake8 - flake8 . - name: docker-build image: plugins/docker:27 settings: repo: ${DRONE_REPO} # или ${DRONE_REPO_NAMESPACE}/${DRONE_REPO_NAME} tags: - latest - ${DRONE_COMMIT_SHA} dockerfile: Dockerfile # Если не хочешь пушить — добавь: # dry_run: true - name: docker-test image: docker:27-cli commands: - docker run --rm ${DRONE_REPO_NAME}:${DRONE_COMMIT_SHA} python -c "print('image ok')" depends_on: - docker-build