Merge remote-tracking branch 'origin/master'
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Erki Aas 2023-07-30 00:47:48 +03:00
commit 6a6336f65d
2 changed files with 4 additions and 4 deletions

View File

@ -2,9 +2,9 @@ pipeline:
build:
image: plugins/kaniko
settings:
repo: harbor.codemowers.eu/${CI_REPO}
repo: harbor.k-space.ee/${CI_REPO}
tags: latest
registry: harbor.codemowers.eu
registry: harbor.k-space.ee
username:
from_secret: docker_username
password:

View File

@ -56,8 +56,8 @@ export class AliasesService<ServiceParams extends AliasesParams = AliasesParams>
async create(data: AliasesData, params: ServiceParams): Promise<Alias | Alias[]> {
const userId = await this.getUserIdByEmailAddress(params)
const aliasFirstPart = faker.animal.crocodilia()
.replace(/\D/, '')
.replace(/\s/, '')
.replace(/\D/g, '')
.replace(/\s/g, '')
.slice(0, 10);
const aliasSecondPart = faker.git.commitSha({ length: 5 });