update docker image platform in cd

This commit is contained in:
2024-05-13 21:11:10 +02:00
parent f484a271e2
commit 416b4f0302
3 changed files with 5 additions and 7 deletions

View File

@@ -48,4 +48,4 @@ jobs:
push: true
context: "{{defaultContext}}:auth-service"
tags: vcscsvcscs/gheritage-auth-service:${{steps.create_image_tag.outputs.result}}
platforms: linux/arm64/v8
platforms: linux/arm64

View File

@@ -48,4 +48,4 @@ jobs:
push: true
context: "{{defaultContext}}:backend"
tags: vcscsvcscs/gheritage-backend-service:${{steps.create_image_tag.outputs.result}}
platforms: linux/arm64/v8
platforms: linux/arm64

View File

@@ -3,8 +3,6 @@ import { isAuthenticated, user } from './stores';
import {
PUBLIC_ZITADEL_CLIENT_ID,
PUBLIC_ISSUER,
PUBLIC_LOGIN_REDIRECT_URI,
PUBLIC_LOGOUT_REDIRECT_URI
} from '$env/static/public';
import { goto } from '$app/navigation';
import { browser } from '$app/environment';
@@ -14,13 +12,13 @@ if (browser) {
const config = {
authority: PUBLIC_ISSUER, // At Zitadel Project Console > [Your project] > [Your application] > URLs - Issuer
client_id: PUBLIC_ZITADEL_CLIENT_ID, // At Zitadel Project Console > [Your project] > [Your application] > Configuration - Client ID
redirect_uri: PUBLIC_LOGIN_REDIRECT_URI + '/callback', // At Zitadel Project Console > [Your project] > [Your application] > URLs - Login Redirect URI
redirect_uri: window.location.hostname + '/callback', // At Zitadel Project Console > [Your project] > [Your application] > URLs - Login Redirect URI
response_type: 'code',
scope: 'openid profile email',
post_logout_redirect_uri: PUBLIC_LOGOUT_REDIRECT_URI,
post_logout_redirect_uri: window.location.hostname,
userStore: new WebStorageStateStore({ store: window.localStorage }),
automaticSilentRenew: true,
silent_redirect_uri: PUBLIC_LOGIN_REDIRECT_URI + '/silent-refresh'
silent_redirect_uri: window.location.hostname + '/silent-refresh'
};
userManager = new UserManager(config);