global repo/module name

This commit closes #4
This commit is contained in:
djmil 2024-08-25 14:50:53 +02:00
parent b0629205c1
commit 7d96d7a52a
3 changed files with 5 additions and 5 deletions

View File

@ -4,9 +4,9 @@ COPY pkg/gitea/* /module/gitea-pages/pkg/gitea/
COPY gitea-pages.go go.mod go.sum /module/gitea-pages/ COPY gitea-pages.go go.mod go.sum /module/gitea-pages/
RUN xcaddy build \ RUN xcaddy build \
--with gitea.djmil.dev/goland/gitea-pages \ --with gitea.djmil.dev/djmil/gitea-pages \
--replace gitea.djmil.dev/goland/gitea-pages=/module/gitea-pages \ --replace gitea.djmil.dev/djmil/gitea-pages=/module/gitea-pages \
--replace gitea.djmil.dev/goland/gitea-pages/pkg/gitea=/module/gitea-pages/pkg/gitea --replace gitea.djmil.dev/djmil/gitea-pages/pkg/gitea=/module/gitea-pages/pkg/gitea
FROM caddy:2.8.4 FROM caddy:2.8.4

View File

@ -5,7 +5,7 @@ import (
"net/http" "net/http"
"strings" "strings"
"gitea.djmil.dev/goland/gitea-pages/pkg/gitea" "gitea.djmil.dev/djmil/gitea-pages/pkg/gitea"
"github.com/caddyserver/caddy/v2" "github.com/caddyserver/caddy/v2"
"github.com/caddyserver/caddy/v2/caddyconfig/caddyfile" "github.com/caddyserver/caddy/v2/caddyconfig/caddyfile"
"github.com/caddyserver/caddy/v2/caddyconfig/httpcaddyfile" "github.com/caddyserver/caddy/v2/caddyconfig/httpcaddyfile"

2
go.mod
View File

@ -1,4 +1,4 @@
module gitea-pages module gitea.djmil.dev/djmil/gitea-pages
go 1.19 go 1.19