fix(ci): use explicit registry token instead of GITHUB_TOKEN for docker login

This commit is contained in:
2026-03-03 12:54:43 +01:00
parent d82c836fcb
commit 13a484ce59
5 changed files with 166 additions and 20 deletions

View File

@@ -39,7 +39,7 @@
"@mintel/content-engine": "link:../../../at-mintel/packages/content-engine",
"@mintel/estimation-engine": "link:../../../at-mintel/packages/estimation-engine",
"@mintel/meme-generator": "link:../../../at-mintel/packages/meme-generator",
"@mintel/payload-ai": "^1.9.7",
"@mintel/payload-ai": "^1.9.10",
"@mintel/pdf": "link:../../../at-mintel/packages/pdf-library",
"@mintel/thumbnail-generator": "link:../../../at-mintel/packages/thumbnail-generator",
"@next/mdx": "^16.1.6",
@@ -103,6 +103,7 @@
"webpack": "^5.96.1",
"website-scraper": "^6.0.0",
"website-scraper-puppeteer": "^2.0.0",
"xlsx": "^0.18.5",
"zod": "3.22.3"
},
"devDependencies": {
@@ -130,6 +131,7 @@
"eslint-plugin-react-hooks": "^7.0.1",
"mime-types": "^3.0.2",
"postcss": "^8.4.49",
"require-extensions": "^0.0.4",
"tsx": "^4.21.0",
"typescript": "5.9.3",
"typescript-eslint": "^8.54.0"

View File

@@ -48,7 +48,7 @@ export default buildConfig({
CrmInteractions,
Projects,
],
globals: [AiSettings as any],
globals: [/* AiSettings as any */],
email: nodemailerAdapter({
defaultFromAddress: process.env.MAIL_FROM || "info@mintel.me",
defaultFromName: "Mintel.me",
@@ -84,24 +84,24 @@ export default buildConfig({
plugins: [
...(process.env.S3_ENDPOINT
? [
s3Storage({
collections: {
media: {
prefix: `${process.env.S3_PREFIX || "mintel-me"}/media`,
},
s3Storage({
collections: {
media: {
prefix: `${process.env.S3_PREFIX || "mintel-me"}/media`,
},
bucket: process.env.S3_BUCKET || "",
config: {
credentials: {
accessKeyId: process.env.S3_ACCESS_KEY || "",
secretAccessKey: process.env.S3_SECRET_KEY || "",
},
region: process.env.S3_REGION || "fsn1",
endpoint: process.env.S3_ENDPOINT,
forcePathStyle: true,
},
bucket: process.env.S3_BUCKET || "",
config: {
credentials: {
accessKeyId: process.env.S3_ACCESS_KEY || "",
secretAccessKey: process.env.S3_SECRET_KEY || "",
},
}),
]
region: process.env.S3_REGION || "fsn1",
endpoint: process.env.S3_ENDPOINT,
forcePathStyle: true,
},
}),
]
: []),
],
endpoints: [

View File

@@ -93,6 +93,40 @@ export const CrmAccounts: CollectionConfig = {
},
],
},
{
type: "row",
fields: [
{
name: "industry",
type: "text",
admin: {
width: "50%",
description: "Industry or category of this account (e.g. Messebauer, Handwerk).",
},
},
{
name: "websiteStatus",
type: "select",
options: [
{ label: "🟢 Good", value: "gut" },
{ label: "🟡 OK / Average", value: "ok" },
{ label: "🔴 Bad / Old", value: "schlecht" },
{ label: "❓ Unknown", value: "unknown" },
],
admin: {
width: "50%",
description: "Quality assessment of their current website.",
},
},
],
},
{
name: "notes",
type: "textarea",
admin: {
description: "Internal notes and research findings for this account.",
},
},
{
name: "assignedTo",
type: "relationship",