diff --git a/Dockerfile b/Dockerfile index 9eac18e..f804a61 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ ## Build first FROM golang:alpine AS builder -RUN mkdir /builddir +RUN mkdir /builddithur ADD cmd/ /builddir/cmd/ ADD template/ /builddir/template ADD *.go /builddir/ @@ -17,7 +17,7 @@ RUN go mod download RUN go mod verify RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -installsuffix cgo -ldflags \ '-w -s -extldflags "-static"' \ - -o /builddir/logranger github.com/wneessen/logranger/cmd/server + -o /builddir/logranger src.neessen.cloud/wneessen/logranger/cmd/server ## Create scratch image FROM scratch diff --git a/cmd/server/main.go b/cmd/server/main.go index 6f99ff3..5c6e949 100644 --- a/cmd/server/main.go +++ b/cmd/server/main.go @@ -11,7 +11,7 @@ import ( "path/filepath" "syscall" - "github.com/wneessen/logranger" + "src.neessen.cloud/wneessen/logranger" ) const ( diff --git a/go.mod b/go.mod index f8305ad..a9e5985 100644 --- a/go.mod +++ b/go.mod @@ -2,7 +2,7 @@ // // SPDX-License-Identifier: MIT -module github.com/wneessen/logranger +module src.neessen.cloud/wneessen/logranger go 1.21 diff --git a/plugins/actions/all/file.go b/plugins/actions/all/file.go index 90acd3f..12a13db 100644 --- a/plugins/actions/all/file.go +++ b/plugins/actions/all/file.go @@ -4,4 +4,4 @@ package all -import _ "github.com/wneessen/logranger/plugins/actions/file" // register plugin +import _ "src.neessen.cloud/wneessen/logranger/plugins/actions/file" // register plugin diff --git a/plugins/actions/file/file.go b/plugins/actions/file/file.go index 7f8fae8..8fb32f0 100644 --- a/plugins/actions/file/file.go +++ b/plugins/actions/file/file.go @@ -10,8 +10,8 @@ import ( "github.com/wneessen/go-parsesyslog" - "github.com/wneessen/logranger/plugins/actions" - "github.com/wneessen/logranger/template" + "src.neessen.cloud/wneessen/logranger/plugins/actions" + "src.neessen.cloud/wneessen/logranger/template" ) // File represents a file action that can be performed on a log message. diff --git a/plugins/actions/registry.go b/plugins/actions/registry.go index a5b3f7f..c1bdd33 100644 --- a/plugins/actions/registry.go +++ b/plugins/actions/registry.go @@ -5,7 +5,7 @@ package actions import ( - "github.com/wneessen/logranger/plugins" + "src.neessen.cloud/wneessen/logranger/plugins" ) // Actions is a variable that represents a map of string keys to Action values. The keys are used to identify different actions, and the corresponding values are the functions that define diff --git a/server.go b/server.go index f6ed071..cb86546 100644 --- a/server.go +++ b/server.go @@ -19,8 +19,8 @@ import ( _ "github.com/wneessen/go-parsesyslog/rfc3164" _ "github.com/wneessen/go-parsesyslog/rfc5424" - "github.com/wneessen/logranger/plugins/actions" - _ "github.com/wneessen/logranger/plugins/actions/all" + "src.neessen.cloud/wneessen/logranger/plugins/actions" + _ "src.neessen.cloud/wneessen/logranger/plugins/actions/all" ) const (