From 7d96d7a52a70af8170c3a761860df8c343a31e46 Mon Sep 17 00:00:00 2001 From: djmil Date: Sun, 25 Aug 2024 14:50:53 +0200 Subject: [PATCH] global repo/module name This commit closes #4 --- Dockerfile | 6 +++--- gitea-pages.go | 2 +- go.mod | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index c70b580..6d81b80 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,9 +4,9 @@ COPY pkg/gitea/* /module/gitea-pages/pkg/gitea/ COPY gitea-pages.go go.mod go.sum /module/gitea-pages/ RUN xcaddy build \ - --with gitea.djmil.dev/goland/gitea-pages \ - --replace gitea.djmil.dev/goland/gitea-pages=/module/gitea-pages \ - --replace gitea.djmil.dev/goland/gitea-pages/pkg/gitea=/module/gitea-pages/pkg/gitea + --with gitea.djmil.dev/djmil/gitea-pages \ + --replace gitea.djmil.dev/djmil/gitea-pages=/module/gitea-pages \ + --replace gitea.djmil.dev/djmil/gitea-pages/pkg/gitea=/module/gitea-pages/pkg/gitea FROM caddy:2.8.4 diff --git a/gitea-pages.go b/gitea-pages.go index 51b9100..ce314b8 100644 --- a/gitea-pages.go +++ b/gitea-pages.go @@ -5,7 +5,7 @@ import ( "net/http" "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/caddyconfig/caddyfile" "github.com/caddyserver/caddy/v2/caddyconfig/httpcaddyfile" diff --git a/go.mod b/go.mod index 73e94df..7f43ce6 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module gitea-pages +module gitea.djmil.dev/djmil/gitea-pages go 1.19