Skip to content

Commit

Permalink
backport #7831 to rac
Browse files Browse the repository at this point in the history
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
  • Loading branch information
BeryJu committed Dec 29, 2023
1 parent 2d59cdc commit 0d2ee49
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
6 changes: 4 additions & 2 deletions rac.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# syntax=docker/dockerfile:1

# Stage 1: Build
FROM docker.io/golang:1.21.3-bookworm AS builder

Expand All @@ -11,8 +13,8 @@ RUN --mount=type=bind,target=/go/src/goauthentik.io/go.mod,src=./go.mod \

ENV CGO_ENABLED=0
COPY . .
RUN --mount=type=cache,target=/go/pkg/mod \
--mount=type=cache,target=/root/.cache/go-build \
RUN --mount=type=cache,sharing=locked,target=/go/pkg/mod \
--mount=type=cache,id=go-build-$TARGETARCH$TARGETVARIANT,sharing=locked,target=/root/.cache/go-build \
go build -o /go/rac ./cmd/rac

# Stage 2: Run
Expand Down
9 changes: 8 additions & 1 deletion schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13958,6 +13958,14 @@ paths:
operationId: propertymappings_rac_list
description: RACPropertyMapping Viewset
parameters:
- in: query
name: managed
schema:
type: string
- in: query
name: name
schema:
type: string
- name: ordering
required: false
in: query
Expand Down Expand Up @@ -19150,7 +19158,6 @@ paths:
- tr
- tt
- udm
- ug
- uk
- ur
- uz
Expand Down

0 comments on commit 0d2ee49

Please sign in to comment.