fix deploy: add registry to buildx steps, fix uv build module-name
- Add registry: localhost:3000 to all buildx steps in deploy.yml and rebuild-all.yml so auth targets the Gitea registry, not Docker Hub. - Add explicit module-name list to pyproject.toml so uv_build finds the namespace packages instead of looking for src/stack/.
This commit is contained in:
@@ -42,6 +42,7 @@ steps:
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
settings:
|
||||
repo: localhost:3000/homelab/notebooks
|
||||
registry: localhost:3000
|
||||
dockerfile: notebooks/Dockerfile
|
||||
context: notebooks/
|
||||
tags:
|
||||
@@ -74,6 +75,7 @@ steps:
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
settings:
|
||||
repo: localhost:3000/homelab/zotero
|
||||
registry: localhost:3000
|
||||
dockerfile: zotero/Dockerfile
|
||||
context: zotero/
|
||||
tags:
|
||||
@@ -115,6 +117,7 @@ steps:
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
settings:
|
||||
repo: localhost:3000/homelab/docs
|
||||
registry: localhost:3000
|
||||
dockerfile: docs/Dockerfile
|
||||
context: .
|
||||
tags:
|
||||
@@ -149,6 +152,7 @@ steps:
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
settings:
|
||||
repo: localhost:3000/homelab/api
|
||||
registry: localhost:3000
|
||||
dockerfile: api/Dockerfile
|
||||
context: .
|
||||
tags:
|
||||
@@ -181,6 +185,7 @@ steps:
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
settings:
|
||||
repo: localhost:3000/homelab/mc
|
||||
registry: localhost:3000
|
||||
dockerfile: rustfs/Dockerfile.mc
|
||||
context: rustfs/
|
||||
tags:
|
||||
|
||||
@@ -6,6 +6,7 @@ steps:
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
settings:
|
||||
repo: localhost:3000/homelab/notebooks
|
||||
registry: localhost:3000
|
||||
dockerfile: notebooks/Dockerfile
|
||||
context: notebooks/
|
||||
tags:
|
||||
@@ -24,6 +25,7 @@ steps:
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
settings:
|
||||
repo: localhost:3000/homelab/zotero
|
||||
registry: localhost:3000
|
||||
dockerfile: zotero/Dockerfile
|
||||
context: zotero/
|
||||
tags:
|
||||
@@ -50,6 +52,7 @@ steps:
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
settings:
|
||||
repo: localhost:3000/homelab/docs
|
||||
registry: localhost:3000
|
||||
dockerfile: docs/Dockerfile
|
||||
context: .
|
||||
tags:
|
||||
@@ -70,6 +73,7 @@ steps:
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
settings:
|
||||
repo: localhost:3000/homelab/api
|
||||
registry: localhost:3000
|
||||
dockerfile: api/Dockerfile
|
||||
context: .
|
||||
tags:
|
||||
@@ -88,6 +92,7 @@ steps:
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
settings:
|
||||
repo: localhost:3000/homelab/mc
|
||||
registry: localhost:3000
|
||||
dockerfile: rustfs/Dockerfile.mc
|
||||
context: rustfs/
|
||||
tags:
|
||||
|
||||
@@ -55,5 +55,6 @@ ignore = ["E501", "E741"]
|
||||
testpaths = ["tests"]
|
||||
|
||||
[tool.uv.build-backend]
|
||||
module-name = ["aco", "api", "bcda", "bib", "bls", "ccw", "cli", "cms", "conf", "pfs", "rex"]
|
||||
namespace = true
|
||||
source-exclude = ["compose.yml","grafana/**","nginx/**","prometheus/**","rustfs/**","data/**", "loki/**", "notebooks/**", "traefik/**", "woodpecker/**", "gitea/**", "polaris/**", "trino/**", "zotero/**", "tuva/**"]
|
||||
|
||||
Reference in New Issue
Block a user