From 27c769e5871772b9e7ff0fd1fe871a84f8e34c19 Mon Sep 17 00:00:00 2001 From: Dylan Moreland Date: Tue, 17 Jan 2023 21:23:28 -0500 Subject: [PATCH] Change the method name, cut down on the build matrix --- .github/workflows/dimo-docker.yaml | 2 +- server/api.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dimo-docker.yaml b/.github/workflows/dimo-docker.yaml index 0872c95b19..4a222a14d5 100644 --- a/.github/workflows/dimo-docker.yaml +++ b/.github/workflows/dimo-docker.yaml @@ -68,7 +68,7 @@ jobs: uses: docker/build-push-action@v2 with: context: . - platforms: linux/amd64,linux/arm/v7,linux/arm64 + platforms: linux/amd64 push: ${{ github.event_name == 'push' }} tags: ${{ steps.tags.outputs.tags }} build-args: | diff --git a/server/api.go b/server/api.go index 5a16c2f808..1e3b309603 100644 --- a/server/api.go +++ b/server/api.go @@ -370,7 +370,7 @@ func (d dexAPI) RevokeRefresh(ctx context.Context, req *api.RevokeRefreshReq) (* return &api.RevokeRefreshResp{}, nil } -func (d dexAPI) GetCustomToken(ctx context.Context, req *api.SignTokenReq) (*api.SignTokenResp, error) { +func (d dexAPI) SignToken(ctx context.Context, req *api.SignTokenReq) (*api.SignTokenResp, error) { issuedAt := d.serverConfig.Now() expiry := issuedAt.Add(d.serverConfig.IDTokensValidFor)