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
|
image: woodpeckerci/plugin-docker-buildx
|
||||||
settings:
|
settings:
|
||||||
repo: localhost:3000/homelab/notebooks
|
repo: localhost:3000/homelab/notebooks
|
||||||
|
registry: localhost:3000
|
||||||
dockerfile: notebooks/Dockerfile
|
dockerfile: notebooks/Dockerfile
|
||||||
context: notebooks/
|
context: notebooks/
|
||||||
tags:
|
tags:
|
||||||
@@ -74,6 +75,7 @@ steps:
|
|||||||
image: woodpeckerci/plugin-docker-buildx
|
image: woodpeckerci/plugin-docker-buildx
|
||||||
settings:
|
settings:
|
||||||
repo: localhost:3000/homelab/zotero
|
repo: localhost:3000/homelab/zotero
|
||||||
|
registry: localhost:3000
|
||||||
dockerfile: zotero/Dockerfile
|
dockerfile: zotero/Dockerfile
|
||||||
context: zotero/
|
context: zotero/
|
||||||
tags:
|
tags:
|
||||||
@@ -115,6 +117,7 @@ steps:
|
|||||||
image: woodpeckerci/plugin-docker-buildx
|
image: woodpeckerci/plugin-docker-buildx
|
||||||
settings:
|
settings:
|
||||||
repo: localhost:3000/homelab/docs
|
repo: localhost:3000/homelab/docs
|
||||||
|
registry: localhost:3000
|
||||||
dockerfile: docs/Dockerfile
|
dockerfile: docs/Dockerfile
|
||||||
context: .
|
context: .
|
||||||
tags:
|
tags:
|
||||||
@@ -149,6 +152,7 @@ steps:
|
|||||||
image: woodpeckerci/plugin-docker-buildx
|
image: woodpeckerci/plugin-docker-buildx
|
||||||
settings:
|
settings:
|
||||||
repo: localhost:3000/homelab/api
|
repo: localhost:3000/homelab/api
|
||||||
|
registry: localhost:3000
|
||||||
dockerfile: api/Dockerfile
|
dockerfile: api/Dockerfile
|
||||||
context: .
|
context: .
|
||||||
tags:
|
tags:
|
||||||
@@ -181,6 +185,7 @@ steps:
|
|||||||
image: woodpeckerci/plugin-docker-buildx
|
image: woodpeckerci/plugin-docker-buildx
|
||||||
settings:
|
settings:
|
||||||
repo: localhost:3000/homelab/mc
|
repo: localhost:3000/homelab/mc
|
||||||
|
registry: localhost:3000
|
||||||
dockerfile: rustfs/Dockerfile.mc
|
dockerfile: rustfs/Dockerfile.mc
|
||||||
context: rustfs/
|
context: rustfs/
|
||||||
tags:
|
tags:
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ steps:
|
|||||||
image: woodpeckerci/plugin-docker-buildx
|
image: woodpeckerci/plugin-docker-buildx
|
||||||
settings:
|
settings:
|
||||||
repo: localhost:3000/homelab/notebooks
|
repo: localhost:3000/homelab/notebooks
|
||||||
|
registry: localhost:3000
|
||||||
dockerfile: notebooks/Dockerfile
|
dockerfile: notebooks/Dockerfile
|
||||||
context: notebooks/
|
context: notebooks/
|
||||||
tags:
|
tags:
|
||||||
@@ -24,6 +25,7 @@ steps:
|
|||||||
image: woodpeckerci/plugin-docker-buildx
|
image: woodpeckerci/plugin-docker-buildx
|
||||||
settings:
|
settings:
|
||||||
repo: localhost:3000/homelab/zotero
|
repo: localhost:3000/homelab/zotero
|
||||||
|
registry: localhost:3000
|
||||||
dockerfile: zotero/Dockerfile
|
dockerfile: zotero/Dockerfile
|
||||||
context: zotero/
|
context: zotero/
|
||||||
tags:
|
tags:
|
||||||
@@ -50,6 +52,7 @@ steps:
|
|||||||
image: woodpeckerci/plugin-docker-buildx
|
image: woodpeckerci/plugin-docker-buildx
|
||||||
settings:
|
settings:
|
||||||
repo: localhost:3000/homelab/docs
|
repo: localhost:3000/homelab/docs
|
||||||
|
registry: localhost:3000
|
||||||
dockerfile: docs/Dockerfile
|
dockerfile: docs/Dockerfile
|
||||||
context: .
|
context: .
|
||||||
tags:
|
tags:
|
||||||
@@ -70,6 +73,7 @@ steps:
|
|||||||
image: woodpeckerci/plugin-docker-buildx
|
image: woodpeckerci/plugin-docker-buildx
|
||||||
settings:
|
settings:
|
||||||
repo: localhost:3000/homelab/api
|
repo: localhost:3000/homelab/api
|
||||||
|
registry: localhost:3000
|
||||||
dockerfile: api/Dockerfile
|
dockerfile: api/Dockerfile
|
||||||
context: .
|
context: .
|
||||||
tags:
|
tags:
|
||||||
@@ -88,6 +92,7 @@ steps:
|
|||||||
image: woodpeckerci/plugin-docker-buildx
|
image: woodpeckerci/plugin-docker-buildx
|
||||||
settings:
|
settings:
|
||||||
repo: localhost:3000/homelab/mc
|
repo: localhost:3000/homelab/mc
|
||||||
|
registry: localhost:3000
|
||||||
dockerfile: rustfs/Dockerfile.mc
|
dockerfile: rustfs/Dockerfile.mc
|
||||||
context: rustfs/
|
context: rustfs/
|
||||||
tags:
|
tags:
|
||||||
|
|||||||
@@ -55,5 +55,6 @@ ignore = ["E501", "E741"]
|
|||||||
testpaths = ["tests"]
|
testpaths = ["tests"]
|
||||||
|
|
||||||
[tool.uv.build-backend]
|
[tool.uv.build-backend]
|
||||||
|
module-name = ["aco", "api", "bcda", "bib", "bls", "ccw", "cli", "cms", "conf", "pfs", "rex"]
|
||||||
namespace = true
|
namespace = true
|
||||||
source-exclude = ["compose.yml","grafana/**","nginx/**","prometheus/**","rustfs/**","data/**", "loki/**", "notebooks/**", "traefik/**", "woodpecker/**", "gitea/**", "polaris/**", "trino/**", "zotero/**", "tuva/**"]
|
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