fix responsetype value
All checks were successful
Build and Publish / build-release (push) Successful in 3m41s

This commit is contained in:
2026-04-20 12:10:30 -05:00
parent 48d30dcc84
commit de5af88030
2 changed files with 11 additions and 22 deletions

View File

@@ -8,7 +8,7 @@ env:
IMAGE_NAME: ${{ github.event.repository.name }}
jobs:
build-release:
runs-on: ubuntu-latest
runs-on: nix
permissions:
id-token: write
contents: read
@@ -16,19 +16,6 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4
- uses: DeterminateSystems/determinate-nix-action@v3
- uses: DeterminateSystems/flake-checker-action@main
with:
flake-lock-path: ./build/flake.lock
- name: Setup Attic cache
uses: ryanccn/attic-action@v0
with:
endpoint: ${{ secrets.ATTIC_ENDPOINT }}
cache: ${{ secrets.ATTIC_CACHE }}
token: ${{ secrets.ATTIC_TOKEN }}
- name: Build Docker Image via Nix Flake
run: |
nix build ./build#dockerImage --print-build-logs
@@ -66,6 +53,8 @@ jobs:
- name: Package Helm Chart
run: |
VERSION=${{ github.run_number }}
helm repo add bjw-s https://bjw-s-labs.github.io/helm-charts
helm dependency build ops/chart
helm package ops/chart --version $VERSION --app-version $VERSION
- name: Push Helm Chart to Gitea Registry

View File

@@ -110,7 +110,7 @@ func (wr *wrappedOIDCAppReconciler) Reconcile(ctx context.Context, ztdClient *cl
}
responseTypes := []application.OIDCResponseType{}
for _, r := range wr.OIDCApp.Spec.ResponseTypes {
responseTypes = append(responseTypes, application.OIDCResponseType(application.OIDCApplicationType_value[string(r)]))
responseTypes = append(responseTypes, application.OIDCResponseType(application.OIDCResponseType_value[string(r)]))
}
grantTypes := []application.OIDCGrantType{}
for _, r := range wr.OIDCApp.Spec.GrantTypes {