Move to uv for dependency management, add Docker image
All checks were successful
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/push/docker-buildx Pipeline was successful

This commit is contained in:
Liam Steckler 2025-07-05 23:58:48 -07:00
parent f2840ee6b5
commit 31059d7687
6 changed files with 387 additions and 5 deletions

View file

@ -0,0 +1,24 @@
when:
branch: main
event:
- push
variables:
- &repo scm.gruezi.net/${CI_REPO}
steps:
publish:
image: docker.io/woodpeckerci/plugin-docker-buildx:latest
settings:
repo: *repo
registry: scm.gruezi.net
tags: latest
username: woodpecker_bot
password:
from_secret: FORGEJO_PACKAGES_API_TOKEN
platforms: linux/amd64,linux/arm64
when:
event: push
depends_on:
- lint

View file

@ -2,9 +2,7 @@ when:
branch: main
steps:
- name: lint
image: python:3-slim
image: ghcr.io/astral-sh/uv:python3.13-bookworm
commands:
- python -m pip install --upgrade pip
- python -m pip install -r requirements.txt
- python -m pip install ruff
- ruff check .
- uv sync
- uvx ruff check