diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 171ce3a..e76fb3b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,8 +1,8 @@ name: Create and publish Docker image on: - push: - branches: ["release"] + release: + types: [published] env: REGISTRY: ghcr.io diff --git a/pyproject.toml b/pyproject.toml index 215d367..df799d1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -11,7 +11,8 @@ dynamic = ["dependencies"] dependencies = {file = ["requirements.txt"]} [tool.setuptools.packages.find] -where = ["spoolman"] +where = [""] +exclude = ["client"] [tool.ruff] select = ["ALL"]