Skip to content

Commit

Permalink
Updating
Browse files Browse the repository at this point in the history
  • Loading branch information
COMTOP1 committed Jun 10, 2024
1 parent 0df9a20 commit 32673a7
Show file tree
Hide file tree
Showing 3 changed files with 81 additions and 86 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.21.5-alpine3.19 AS build
FROM golang:1.22.4-alpine3.20 AS build
LABEL site="auth"
LABEL stage="builder"

Expand All @@ -22,7 +22,7 @@ RUN echo -n "-X 'main.Version=$WAUTH_VERSION_ARG" > ./ldflags && \
echo -n "'" >> ./ldflags

# Build the executable
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags="$(cat ./ldflags)" -o /bin/auth
RUN GOOS=linux GOARCH=amd64 go build -ldflags="$(cat ./ldflags)" -o /bin/auth

# Run the executable
FROM scratch
Expand Down
43 changes: 22 additions & 21 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,58 +1,59 @@
module github.com/ystv/web-auth

go 1.21
go 1.22

toolchain go1.22.4

require (
github.com/Clarilab/gocloaksession v1.13.2
github.com/Clarilab/gocloaksession v1.14.0
github.com/Masterminds/squirrel v1.5.4
github.com/Nerzal/gocloak/v8 v8.6.0
github.com/balacode/zr-whirl v1.0.2
github.com/dustin/go-humanize v1.0.1
github.com/go-playground/validator/v10 v10.16.0
github.com/golang-jwt/jwt/v5 v5.2.0
github.com/google/uuid v1.5.0
github.com/gorilla/schema v1.2.1
github.com/go-playground/validator/v10 v10.21.0
github.com/golang-jwt/jwt/v5 v5.2.1
github.com/google/uuid v1.6.0
github.com/gorilla/schema v1.3.0
github.com/gorilla/securecookie v1.1.2
github.com/gorilla/sessions v1.2.2
github.com/jinzhu/copier v0.4.0
github.com/jmoiron/sqlx v1.3.5
github.com/jmoiron/sqlx v1.4.0
github.com/joho/godotenv v1.5.1
github.com/korylprince/go-ad-auth/v3 v3.3.0
github.com/labstack/echo/v4 v4.11.4
github.com/labstack/echo/v4 v4.12.0
github.com/labstack/gommon v0.4.2
github.com/lib/pq v1.10.9
github.com/mcnijman/go-emailaddress v1.1.1
github.com/patrickmn/go-cache v2.1.0+incompatible
github.com/xhit/go-simple-mail/v2 v2.16.0
gopkg.in/guregu/null.v4 v4.0.0
)

require github.com/go-resty/resty/v2 v2.9.1 // indirect
require github.com/go-resty/resty/v2 v2.13.1 // indirect

require (
github.com/Nerzal/gocloak/v13 v13.8.0 // indirect
github.com/Nerzal/gocloak/v13 v13.9.0 // indirect
github.com/dgrijalva/jwt-go/v4 v4.0.0-preview1 // indirect
github.com/gabriel-vasile/mimetype v1.4.3 // indirect
github.com/go-ldap/ldap/v3 v3.4.6
github.com/gabriel-vasile/mimetype v1.4.4 // indirect
github.com/go-playground/locales v0.14.1 // indirect
github.com/go-playground/universal-translator v0.18.1 // indirect
github.com/go-test/deep v1.1.0 // indirect
github.com/golang-jwt/jwt v3.2.2+incompatible // indirect
github.com/golang-jwt/jwt/v4 v4.5.0 // indirect
github.com/lann/builder v0.0.0-20180802200727-47ae307949d0 // indirect
github.com/lann/ps v0.0.0-20150810152359-62de8c46ede0 // indirect
github.com/leodido/go-urn v1.2.4 // indirect
github.com/leodido/go-urn v1.4.0 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/opentracing/opentracing-go v1.2.0 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/segmentio/ksuid v1.0.4 // indirect
github.com/toorop/go-dkim v0.0.0-20201103131630-e1cd1a0a5208 // indirect
github.com/toorop/go-dkim v0.0.0-20240103092955-90b7d1423f92 // indirect
github.com/valyala/bytebufferpool v1.0.0 // indirect
github.com/valyala/fasttemplate v1.2.2 // indirect
golang.org/x/crypto v0.17.0
golang.org/x/net v0.19.0 // indirect
golang.org/x/sys v0.15.0 // indirect
golang.org/x/text v0.14.0 // indirect
golang.org/x/crypto v0.24.0 // indirect
golang.org/x/net v0.26.0 // indirect
golang.org/x/sys v0.21.0 // indirect
golang.org/x/text v0.16.0 // indirect
golang.org/x/time v0.5.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240610135401-a8a62080eff3 // indirect
google.golang.org/grpc v1.64.0 // indirect
google.golang.org/protobuf v1.34.1 // indirect
)
Loading

0 comments on commit 32673a7

Please sign in to comment.