build & package url changes just so i can release this myself right now
This commit is contained in:
parent
c738c86fd1
commit
23469ec56d
|
@ -1,10 +1,10 @@
|
|||
FROM golang:alpine
|
||||
|
||||
COPY . /go/src/github.com/tiagoapimenta/nginx-ldap-auth
|
||||
COPY . /go/src/github.com/gered/nginx-ldap-auth
|
||||
|
||||
ENV CGO_ENABLED=0
|
||||
|
||||
RUN cd /go/src/github.com/tiagoapimenta/nginx-ldap-auth && \
|
||||
RUN cd /go/src/github.com/gered/nginx-ldap-auth && \
|
||||
apk add --no-cache git && \
|
||||
go get -u gopkg.in/yaml.v2 && \
|
||||
go get -u gopkg.in/ldap.v2 && \
|
||||
|
|
4
build
4
build
|
@ -2,8 +2,8 @@
|
|||
|
||||
set -e
|
||||
|
||||
base='docker.io/tpimenta/nginx-ldap-auth'
|
||||
version='v1.0.5'
|
||||
base='docker.io/gered/nginx-ldap-auth'
|
||||
version='v1.0.6'
|
||||
image="$base:$version"
|
||||
|
||||
atexit() {
|
||||
|
|
|
@ -3,7 +3,7 @@ package group
|
|||
import (
|
||||
"strings"
|
||||
|
||||
"github.com/tiagoapimenta/nginx-ldap-auth/ldap"
|
||||
"github.com/gered/nginx-ldap-auth/ldap"
|
||||
|
||||
gldap "gopkg.in/ldap.v2"
|
||||
)
|
||||
|
|
10
main/main.go
10
main/main.go
|
@ -4,11 +4,11 @@ import (
|
|||
"fmt"
|
||||
"log"
|
||||
|
||||
"github.com/tiagoapimenta/nginx-ldap-auth/data"
|
||||
"github.com/tiagoapimenta/nginx-ldap-auth/group"
|
||||
"github.com/tiagoapimenta/nginx-ldap-auth/ldap"
|
||||
"github.com/tiagoapimenta/nginx-ldap-auth/rule"
|
||||
"github.com/tiagoapimenta/nginx-ldap-auth/user"
|
||||
"github.com/gered/nginx-ldap-auth/data"
|
||||
"github.com/gered/nginx-ldap-auth/group"
|
||||
"github.com/gered/nginx-ldap-auth/ldap"
|
||||
"github.com/gered/nginx-ldap-auth/rule"
|
||||
"github.com/gered/nginx-ldap-auth/user"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
|
|
@ -7,7 +7,7 @@ import (
|
|||
"net/http"
|
||||
"strings"
|
||||
|
||||
"github.com/tiagoapimenta/nginx-ldap-auth/rule"
|
||||
"github.com/gered/nginx-ldap-auth/rule"
|
||||
)
|
||||
|
||||
func startServer(service *rule.Service, server, path, message string) error {
|
||||
|
|
|
@ -4,9 +4,9 @@ import (
|
|||
"log"
|
||||
"sort"
|
||||
|
||||
"github.com/tiagoapimenta/nginx-ldap-auth/data"
|
||||
"github.com/tiagoapimenta/nginx-ldap-auth/group"
|
||||
"github.com/tiagoapimenta/nginx-ldap-auth/user"
|
||||
"github.com/gered/nginx-ldap-auth/data"
|
||||
"github.com/gered/nginx-ldap-auth/group"
|
||||
"github.com/gered/nginx-ldap-auth/user"
|
||||
)
|
||||
|
||||
type Service struct {
|
||||
|
|
|
@ -3,7 +3,7 @@ package user
|
|||
import (
|
||||
"strings"
|
||||
|
||||
"github.com/tiagoapimenta/nginx-ldap-auth/ldap"
|
||||
"github.com/gered/nginx-ldap-auth/ldap"
|
||||
|
||||
gldap "gopkg.in/ldap.v2"
|
||||
)
|
||||
|
|
Reference in a new issue