From 3e74c5224f6cec8cc8ef456509341254f41e458e Mon Sep 17 00:00:00 2001 From: UweKrause Date: Fri, 1 May 2026 00:20:15 +0200 Subject: [PATCH] chore: rename devcontainer name (#12356) I had some trouble getting the devcontainer run. I use docker buildx / BuildKit. Error was: `docker buildx build failed: ERROR: failed to build: invalid tag "gitea_-5cc3cd41d1b58674-features": invalid reference format`. I renamed the container to not contain spaces and then it worked. AI agreement: I asked Claude code (Sonnet 4.6) to analyze the problem and it told me that buildx/BuildKit seems to check more strict for names. So it guided me to the solution to rename the container. I then myself changed the name and verified that the devcontainer starts. Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/12356 Reviewed-by: limiting-factor Reviewed-by: Gusted --- .devcontainer/devcontainer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 0db96fc73a..46b85ad93d 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,5 +1,5 @@ { - "name": "Gitea DevContainer", + "name": "forgejo-dev", "image": "mcr.microsoft.com/devcontainers/go:1.26-trixie", "features": { // installs nodejs into container